The "Santa's Little Helper" - Telegram helper bot
"Santa's Little Helper" is a Telegram helper bot could avoid spam and manage group chat.
HOW-TO
Use
- Search @ideasLittleHelperBot via Telegram, and add it into your group
- Grant this bot admin rights
/active
this bot on group chat
Development
- create a Python virtual environment
pip3 install -r requirements.txt && pip3 install -r requirements-dev.txt
Run unittest
- create
local_settings.py
usinglocal_settings_example.py
as example python3 -m unittest discover -v
run all
If you want to add a new method to this bot framework, please use https://core.telegram.org/bots/api as reference.
Set-up GitHub CI
- from repo > settings > secrets, click "add secrets" button
Host a Telegram bot
- create a new Telegram bot using https://t.me/botfather
- clone this repo & create a Python virtual environment
pip3 install -r requirements.txt
- create
local_settings.py
usinglocal_settings_example.py
as example, you might read https://core.telegram.org/bots first. - run
main.py