telegram bot to notify users of upcoming events in the yth calander (excel)
git clone https://github.com/Donut100/yth-event-notifier.git
cd yth-event-notifier
cd src
before you can run the script, you'll have to set up a few things:
- create a
creds.py
inside thecreds.py
file fill in the details:
BOT_TOKEN = '<your telegram bot token>'
DOWNLOAD_URL = '<a download link for the excel>'
- create an empty json file called
userdata.json
cd .. # go to the root directory
in userdata.json
:
{}
Bot is running on python version 3.9.5
after the setup you may start the bot make run it while in the src
directory
# for windows
pip install -r requirements.txt
cd src
python main.py
# for MacOs / Linux
pip3 install -r requirements.txt
cd src
python3 main.py