A discord bot for playing the 'Schwarz oder Rot' drinking game
The bot was moved to here
- create a file named
.env
in the working directory - add the line
API_TOKEN="<your_token>"
to the file and name exchange<your_token>
with your actual token.
- install python3.10 (on RPI it needs to be built from source)
- update the path to the
main.py
file in thestart_bot.sh
script. - run
chmod +x discord_bot.sh
andchmod +x main.py
- install requirements (ideally with
python3.10 -m pip install -r requirements.txt
, if this doesn't work just manuall installdiscord
andpython-dotenv
packages with pip) - run the start script with
./discord_bot.sh start
(stop the bot with./discord_bot.sh stop
).
- switch from old unmaintained discord.py to enhanced-dpy. -> will probably also mean rolling back to python 3.9
- Add support to play the pyramid game.
- Improve Coding Style
- add comments to the code (soon TM)