Steps to get Jarvis Telegram app up and running in your machine
Step 1:
Install the libraries mentioned in requirements.txt and go to the link provided in the github page - https://t.me/jarvis_chatbot
Step 2:
To install the Telegram app click on “Don’t have Telegram yet? Try it now!>”
Step 3:
Install the app based on your machine OS/device type
Step 4:
Upon successful installation, clone the git repository - https://github.com/the-vision/jarvis-telegram-playground to your local machine.
Step 5:
Click on the BotFather link provided in the repository - https://t.me/BotFather
Step 6:
If you have successfully installed the Telegram app, you should see a notification asking to open the app when you navigate to the BotFather website.
Step 7:
Type /start when the app opens
Step 8:
Type in /newbot to create a new bot
Step 9:
Select a name for your bot along with a UNIQUE username.
Step 10:
Copy the token provided after successful creation of your bot. This needs to be copied on to the API_TOKEN variable in the bot.py file, which was cloned to your local machine.
Step 11:
Make changes to your local bot.py file as you wish. To run the bot, go to your terminal and run the bot.py file
Step 12:
The changes will be reflected in the app. For example, here I have made changes to bot.py file to display a custom message when the user types in ‘help’.
Note: The py file needs to be run in the background to have the bot responding to your requests