Telegram bot to control the Sobornyi group.
In order to run it:
- Create a bot here: @BotFather.
- Create a chat group in Telegram.
- Create a channel in Telegram.
- Add your bot to both the group and the channel as admin with full rights.
- Add
config/settings.local.yml
with settings for the environments (dev
andprod
). - Add bot token to
config/.secrets.local.yml
. - Set up the environment:
make init
- Activate the environment:
conda activate telegram-bot
. - Run the bot:
make debug
(dev) ormake run
(prod). - Enjoy!
Hint: in order to get chat_id
run /info
command for the bot in that chat.