This is a port of HeyTaco Bot (Slack) for Telegram.
This project requires a Heroku -ish environment. You can also self-host using Dokku.
You can obtain [BOT_TOKEN]
and [API_ID]/[API_HASH]
for your instance by contacting @BotFather and on Telegram's website
Assuming Dokku, SSH into your VPS with DOKKU installed on it and:
dokku apps:create [APP-NAME]
dokku config:set --no-restart [APP-NAME] BOT_TOKEN=[YOUR-BOT-TOKEN]
dokku config:set --no-restart [APP-NAME] API_ID=[YOUR-API_ID]
dokku config:set --no-restart [APP-NAME] API_HASH=[YOUR-API_HASH]
dokku postgres:create [DB-NAME]
(requires postgres plugin)doku postgres:link [DB-NAME] [APP-NAME]
From local machine:
7. git init
8. git clone [email protected]:l0rem/TacoBot.git
9. git remote add dokku [email protected]:[APP-NAME]
10. git push dokku master
Send /start to bot.
Add it to your group and give it admin rights, so that it will be able to access messages.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
python-telegram-bot DOKKU HeyTacoBot