/TELEGRAM-BOT-WITH-PYTHON

Telegram bot to search for web links with information about Pokemon by Pokemon ID.

Primary LanguagePython

TELEGRAM-BOT-WITH-PYTHON

Telegram bot to search for web links with information about Pokemon by Pokemon ID.

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

API_KEY: TELEGRAM BOT TOKEN

Local installation

Clone the project

  git clone https://github.com/Geffrerson7/TELEGRAM-BOT-WITH-PYTHON.git

Go to the project directory

  cd TELEGRAM-BOT-WITH-PYTHON

Create virtual enviroment

$ virtualenv venv

Translate to English: Activate the virtual environment.

$ venv\Scripts\activate

Install dependencies

$(venv) pip install -r requirements.txt

Run project

$(venv)  py telegram-bot.py

Local installation with Dcoker

Clone the project

  git clone https://github.com/Geffrerson7/TELEGRAM-BOT-WITH-PYTHON.git

Go to the project directory

  cd TELEGRAM-BOT-WITH-PYTHON

Create Docker image

$ docker build -t image_name .

Run Docker container

$ docker run image_name

Start the Telegram bot's start menu

Send the following message to the bot:

  /start