A Discordbot for my class group, written in Python with discordpy.
Warning Abpyssathon was living in Heroku, and since they stopped their free plan in November 2022, near the end of our cursus, we decided that is was time for Abpyssathon to retire after 4 years of loyal service. Goodbye, dear friend.
- 🏆 Count the points for all members and output a ranking. A point equals to an absence during one lesson
- 🎲 Pick a random member, he/she will have to do this task no one wants to do
- 🎲 Make random teams with the members of a discord role, to gain time for our class projects
- 🏷️ Create roles in the guild (because we create a lot of roles)
- 🏓 Last but not least, answers "Pong" to "&ping" (plus a special Medhi version with
&ping2
)
See all commands with the &help
bot command.
If you wish to use my bot, you can email me (see my profile). Otherwise you can deploy it by yourself:
-
Clone the repository
$ git clone https://github.com/nathanaelhoun/Abpyssathon $ cd Abpyssathon
-
Create a
.env
file with these tokens:BOT_TOKEN=<bot-token-here> DATABASE_URL=postgres://<full-postgresql-database-url-here>
-
Create the database tables with the script
database_creation.sql
in a postgresql database -
Then launch the bot
$ python3 bot/main.py