Skip to content

Latest commit

 

History

History
69 lines (40 loc) · 2.98 KB

SETUP.md

File metadata and controls

69 lines (40 loc) · 2.98 KB

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 1

Step 2:

To install the Telegram app click on “Don’t have Telegram yet? Try it now!>” 2

Step 3:

Install the app based on your machine OS/device type 3

Step 4:

Upon successful installation, clone the git repository - https://github.com/the-vision/jarvis-telegram-playground to your local machine. 4

Step 5:

Click on the BotFather link provided in the repository - https://t.me/BotFather 5

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.

6

Step 7:

Type /start when the app opens 7

Step 8:

Type in /newbot to create a new bot 8

Step 9:

Select a name for your bot along with a UNIQUE username. 9

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. 10

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 11

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’. 12

13

Note: The py file needs to be run in the background to have the bot responding to your requests