A discord bot for the representation plan of the DBG-Metzingen Gymnasium which is hosted on DSBmobile.
Just places it anywhere and run it with pyhton3. It expects as first parameter the path to the database. If there is no database, it recreates it for you. For the second parameter it expects the discord bot authentication token.
If your setup is correct, you should now see on discord that the bot is online. Just type ">>" in a chat, where the bot is allowed to answer, to see if it works.
It requires the python libraries pytz
, requests
, codecs
, html
, json
, base64
, gzip
, uuid
, pysqlcipher3
and datetime
. As pysqlcipher3
is not longer available via pip, you should check out their project page on GitHub.