Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Latest commit

 

History

History
29 lines (19 loc) · 1.24 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.24 KB

schwarz_oder_rot_bot

A discord bot for playing the 'Schwarz oder Rot' drinking game

This Repository is no longer maintained

The bot was moved to here

Usage

Adding the API Token

  • 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.

Installing the bot (example on RPI)

  1. install python3.10 (on RPI it needs to be built from source)
  2. update the path to the main.py file in the start_bot.sh script.
  3. run chmod +x discord_bot.sh and chmod +x main.py
  4. install requirements (ideally with python3.10 -m pip install -r requirements.txt, if this doesn't work just manuall install discord and python-dotenv packages with pip)
  5. run the start script with ./discord_bot.sh start (stop the bot with ./discord_bot.sh stop).

Future Changes

  • 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)