To make this repo compatible with heroku and avoid unnecessary conflicts we have to break down this whole project into two different parts and deploy as different apps so let's get started.
Bot
REPO: https://github.com/CW4RR10R/LemonJamsBot-Heroku
BOT_TOKEN: @BotFather
WEBSOCKET_URL: https://github.com/CW4RR10R/LemonJamServer
API_HASH & API_ID: https://my.telegram.org
SESSION: https://repl.it/@ErichDaniken/Generate-Telegram-String-Session
API_HASH & API_ID: https://my.telegram.org
SESSION: https://repl.it/@ErichDaniken/Generate-Telegram-String-Session
Bot
- Here is the place where this repo (which you are reading this readme) comes into picture
- As usual hit deploy to heroku button
- Enter bot token and websocket url (which we got from the above step)
- click deploy and sit back until docker finishes the build
- turn on your dyno (if its off)
- if everything goes fine you should see something like @username is running... in the log
- Voila!