Contains source code for the current version of the PooPy Discord bot.
This bot can take various commands via a Discord server's text channel and perform simple tasks.
An overview of the different possible commands can be displayed by typing $help
in one of the server's
text channels.
Note: In order to use the bot, you must connect it with your Guild using the Discord Developer Portal in order to obtain a corresponding
TOKEN
.
First, clone this repository locally:
$ git clone https://github.com/ybrenning/poopy.git
$ cd poopy
Install the requirements
$ pip install -r requirements.txt
Create .env
in the root directory and set the DISCORD_TOKEN
variable.
If you want to connect a Minecraft Server of your choice, add the MC_SERVER_IP
variable as well.
$ touch .env
$ code .env
# Or, on Linux CSH:
$ setenv DISCORD_TOKEN [your-discord-token]
Run the Python script
# On Linux
$ ./poo.py
# On Windows/Mac OS
$ python poo.py