Discord bot in Python
Clone this repo and then start the bot first building the docker image:
docker build -t nelson .
Then you can run the container:
docker run -d nelson
All the code is located in src
directory.
You will need to create a .env file with your own tokens and credentials for Discord and Reddit APIs.
Guides below for how to obtain your tokens:
- Discord Developer Portal
- Reddit Developer Portal
You should copy the contents ofexample.env
to your .env file and replace the values with your own:
cp src/example.env .env
Docs for using discore.py and praw