This guide only shows how to generate a Redis session and deploy the bot to Heroku.
We would encourange you to use Termux, an app available on the Play Store. Open the same and follow along.
Clone the TG-UserBot repository to your desired location using the git clone command.
$ git clone https://www.github.com/kandnub/TG-UserBot
Once the cloning has finished, change your directory to the cloned folders directory using the cd command.
$ cd TG-UserBot
To generate the session do:
$ python3 generate_session.py
Simply follow the on-screen instructions and once done you’ll get a confirmation message saying:
Succesfully generated a session for “name”
To deploy to heroku click on the Auto Deploy button given below:
Fill all the info i.e ENV Vars, double check and click on deploy, thats it you are done!
If you get stuck somewhere or get an error while building/deploying the UserBot, don’t hesitate to ask us in the support group.