pip install python-telegram-bot
pip install telethon
pip install configparser logging
git clone https://github.com/RduMarais/santelegram.git
I did a huge tutorial for beginners (in French) on my personal blog and here : https://github.com/RduMarais/santelegram/blob/master/Tutoriel.md
- Change the config_example.ini file name to config.ini
- Write in it the Advent Calendar you want, with the usernames you want to be able to open.
- get the usernames with telethon_get_users.py
- put your API token in the config.ini
- run
python santabot.py
Stop it with Ctrl+C
Enjoy