I didn't like Discord's event system, so I made my own.
NOTE: Currently, only Polish language is supported.
Create environment file by coping the example one:
cp example.env prod.env
And replacing its content with your own configuration.
Install all the required packages (virtual environment usage recommended):
pip install -r requirements.txt
Start the database; you can use provided docker-compose file:
docker-compose -d up db
Prepare the database schema with the bootstrap script (note this will purge the existing schema):
chmod +x bootstrap.sh
./bootstrap.sh
Then, you can run the bot:
chmod +x run.sh
./run.sh
Event bot supports following slash commands:
/event new
Opens modal allowing to create a new event at current channel
/event list
Responds with a list of upcoming events for current channel
/event remove <event_code>
Removes user's selected event. event_code
is given on creation and displayed on its message.