current username + password:
- username: bsz-et-2324
- password: schulleiter#23
invite the bot to your discord via https://discord.com/oauth2/authorize?client_id=1150762234620944464&permissions=8&scope=bot
and type /activate
in your discord server to activate the bot
version: '3'
services:
schulbot:
image: ghcr.io/katze719/bszet_it_bot:latest
restart: always
environment:
DISCORD_BOT_TOKEN: ${DISCORD_BOT_TOKEN}
volumes:
- ./settings:/settings
mkdir settings
docker-compose up -d
docker-compose down
docker pull ghcr.io/katze719/bszet_it_bot:latest
docker-compose up -d
Command | Description |
---|---|
/activate |
Activates the bot |
/deactivate |
Deactivates the bot |
/deactivate_experimental_features |
Deactivates experimental features |
/activate_experimental_features |
Activates experimental features |
/set <variable_name> <value> |
Sets the specified variable to the given value |
/reset |
Resets all variables to their default values |
Command | Description | Requires Experimental Features to be on |
---|---|---|
/help |
Displays a help message | false |
/ping |
Checks the bot's responsiveness | false |
/plan |
Retrieves the current plan | false |
/get <variable_name> |
Retrieves the value of the specified variable | false |
/status |
Checks if the bot is currently active | false |
/feedback <message> |
Submits user feedback | false |
/print_parsed_table_experimental |
Displays the parsed table | true |
/news_experimental |
Retrieves the latest news | true |
- Setup venv
git clone https://github.com/Katze719/BSZET_IT_BOT.git;
cd BSZET_IT_BOT;
python3 -m venv venv;
source ./venv/bin/activate;
pip install -r requirements.txt;
- Run the bot
export DISCORD_BOT_TOKEN="<my token>"
python3 ./bot.py