Skip to content

ybrenning/poopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PooPy

Build Code style: black isort

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.

Instructions

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

References

Discord Developer Portal
DiscordPy
MC-Status