Telegram bot for VK public
A Telegram bot running with RSS and VK group integration and ready to deploy with Heroku.
/last
- send to user last 5 posts /search %search_word%
- send all posts with %search_word%
/random
- send random post/off
- turn off auto broadcasting/on
- turn on auto broadcasting/daily
- turn off daily broadcasting. You can set time in config.py
/hourly
- turn off hourly broadcasting./help
- just send help info/last ege
retrieve 5 posts from ege
channel/newbot
to BotFather)config.py
with your information (tokens, keys, etc)bot.py
script and push all changes to Herokuheroku run python
./bot/bot.py`. It should set new webhook to Heroku serverbot.py
script back and push all changes to Herokupython ./bot/broadcaster.py
every 10 minutes for Brodcaster and if [ "$(date +%d)" = 01 ]; then python ./bot/cache_cleaner.py; fi
for Database Cleaner