Jonak-Adipta-Kalita / JAK-Telegram-Bot

My Telegram Bot Source Code

Home Page:https://github.com/Jonak-Adipta-Kalita/JAK-Telegram-Bot#use-it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JAK-Telegram-Bot

Code Style: Black License GitHub Repo Stars GitHub Forks GitHub Watchers Made by JAK

  • Note: Formatting the Code before Pushing is Important!!

Use it

To use the bot, go to Telegram and search for JAK-Telegram-Bot you can use the bot from there.

Steps

Clone the Repository

To Clone this Repository, open a terminal in a empty folder and type

git clone https://github.com/Jonak-Adipta-Kalita/JAK-Telegram-Bot.git

Technology(s) Used

Installing The Required Modules

To install the required modules, just open a terminal in the directory where this project is cloned. Now type:

pip install virtualenv
virtualenv venv
.\venv\Scripts\activate
pip install -r .\requirements.txt

and hit enter.

Starting the Bot:

Create .env. Now go to Telegram and search for BotFather. In the Chat press Start or type /start. Then give your bot a name and then a username Now copy the Token given by the BotFather and paste it in the .env file

TOKEN=<YOUR_BOT_TOKEN>

like this. After you added the bot, open any terminal in the directory and type

python main.py

and hit Enter.

Format Code

In a terminal, type

.\venv\Scripts\activate
black .
deactivate

and press Enter.

Technology(s) Used

Contributors

About

My Telegram Bot Source Code

https://github.com/Jonak-Adipta-Kalita/JAK-Telegram-Bot#use-it

License:Other


Languages

Language:Python 100.0%