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

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

License

Notifications You must be signed in to change notification settings

CaptainJack42/schwarz_oder_rot_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published