Quick and dirty bot for Discord groups. Randomly selects one card from a deck, posts it and its corresponding text to the channel. It uses the discordpy library. For more info on discord bots, refer to the discord developer portal. Also, this is a good tutorial.
discord.py
python-dotenv
- Images of the cards you want to use
- Tested with
Python 3.8.10
- Place your discord token in
.env
file. - Place card images (in .png format) in folder "Karten".
- run
python3 inrahbot
For copyright reasons, the cards are not included. You can use e.g. these from the Borbarad-Projekt or your own. Just place them in the folder "Karten". The card texts are taken from the "Inrah-Project" a fan project by Markus Hattenkofer, Mike Wimmer and Tobias Rosenberger. It can be found at the Borbarad-Projekt.