Skip to content

A simple bot written in python with discordpy and mcstatus & sourceserver modules to display informations about minecraft or source server.

License

Notifications You must be signed in to change notification settings

TakeusV1/gameserver_discordpy_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gameserver_discordpy_bot

Dependencies

pip3 install discord.py
pip3 install mcstatus sourceserver

Config

token = 'xxxxxxxxxxxxxxx'
server_ip = 'xx.xx.xx.xx'
server_port = 'xxxxx'
mcOs = True

Prod

### Setup
apt update
curl -sL https://deb.nodesource.com/setup_18.x | sudo bash -
apt install nodejs -y
npm install pm2@latest -g
### Usage
pm2 start app.py --interpreter python3  # To start the BOT
pm2 stop app.py # To stop the BOT
pm2 monit # To see the launched instances
pm2 save && pm2 startup # To launch the instances at each system startup

Example

1
2

About

A simple bot written in python with discordpy and mcstatus & sourceserver modules to display informations about minecraft or source server.

Topics

Resources

License

Stars

Watchers

Forks

Languages