This is a simplified version of MusXbot, that has much less abilities, but is also cleaner and more understandable (in terms of code).
This project requires a Heroku -ish environment. You can also self-host using Dokku.
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] WEBHOOK_URL=[YOUR-WEBHOOK-URL]
dokku config:set --no-restart [APP-NAME] ENV=PROD
From local machine:
5. git init
6. git clone [email protected]:l0rem/SimpleMusXbot.git
7. git remote add dokku [email protected]:[APP-NAME]
8. git push dokku master
Again on VPS:
9. dokku config:set --no-restart [APP-NAME] DOKKU_LETSENCRYPT_EMAIL=[E-MAIL]
10. dokku letsencrypt [APP-NAME]
(requires letsencrypt plugin)
11. dokku proxy:ports-set [APP-NAME] https:443:8080
Send /start to bot.
In order to see list of parsed tracks send your query as a text message to bot.
- 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