https://github.com/geffrerson7/telegram-bot-with-python
Telegram bot to search for web links with information about Pokemon by Pokemon ID.
https://github.com/geffrerson7/telegram-bot-with-python
beautifulsoup docker python python-dotenv python-telegram-bot
Last synced: 6 months ago
JSON representation
Telegram bot to search for web links with information about Pokemon by Pokemon ID.
- Host: GitHub
- URL: https://github.com/geffrerson7/telegram-bot-with-python
- Owner: Geffrerson7
- Created: 2023-05-21T22:10:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-03T21:07:56.000Z (almost 2 years ago)
- Last Synced: 2025-06-21T00:01:57.520Z (6 months ago)
- Topics: beautifulsoup, docker, python, python-dotenv, python-telegram-bot
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```bash
git clone https://github.com/Geffrerson7/TELEGRAM-BOT-WITH-PYTHON.git
```
Go to the project directory
```bash
cd TELEGRAM-BOT-WITH-PYTHON
```
Create virtual enviroment
```bash
$ virtualenv venv
```
Translate to English: Activate the virtual environment.
```bash
$ venv\Scripts\activate
```
Install dependencies
```bash
$(venv) pip install -r requirements.txt
```
Run project
```bash
$(venv) py telegram-bot.py
```
## Local installation with Dcoker
Clone the project
```bash
git clone https://github.com/Geffrerson7/TELEGRAM-BOT-WITH-PYTHON.git
```
Go to the project directory
```bash
cd TELEGRAM-BOT-WITH-PYTHON
```
Create Docker image
```bash
$ docker build -t image_name .
```
Run Docker container
```bash
$ docker run image_name
```
## Start the Telegram bot's start menu
Send the following message to the bot:
```bash
/start
```