Pour ajouter ce bot à votre serveur discord : https://discord.com/api/oauth2/authorize?client_id=1110208055171367014&permissions=274877975552&scope=bot
Merci à ChatGPT pour m'avoir aidé à porter mon vieux bot IRC en C++, en un bot discord en python
Lien du vieux bot IRC que j'avais codé en 2016 : https://git.epicsparrow.com/Anselme/SparrowBot/src/branch/master/app/fourasmodule.cpp
How to run the bot
Setup env var for the bot
- Create a
.env
file at the root of the project - Add the following content to the file:
DISCORD_TOKEN
: the token of the botGITEA_API_KEY
: the api key to interact with giteaGUILD_ID
: the id of the guild where the bot offer slash commands
python -m main
EXPERIMENTAL GITEA API
Permission needed:
- repo: read
- issues: read & write
Description
Languages
Python
97.6%
Dockerfile
2.4%