Initial commit

This commit is contained in:
2022-04-28 19:54:26 +02:00
commit ff225d6fa7
5 changed files with 767 additions and 0 deletions

18
start.sh Normal file
View File

@ -0,0 +1,18 @@
#!/bin/bash
which python3 &> /dev/null
[ $? -eq 0 ] || apt-get -y install python3
which pip3 &> /dev/null
[ $? -eq 0 ] || apt-get -y install python3-pip
python3 -c "import aiogram" &> /dev/null
[ $? -eq 0 ] || yes | pip3 install aiogram 1> /dev/null
python3 -c "import discord" &> /dev/null
[ $? -eq 0 ] || yes | pip3 install discord 1> /dev/null
python3 -c "import webuntis" &> /dev/null
[ $? -eq 0 ] || yes | pip3 install webuntis 1> /dev/null
python3 main.py "discord bot token" "telegram bot token" "untis username" "untis password"