Skip to content

MrTanuk/TelePokeBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TelePokeBot

A telegram bot that allows to obtain pokemon data and everything related to it, like a pokedex.

Installation

Need python installed and telegram bot created. Use BotFather.

clone the repository:

git clone [email protected]:MrTanuk/TelePokeBot.git
cd TelePokeBot

Create a virtual environment:

python -m venv env

To active the virtual environment:

Linux/macOS:

source env/bin/activate

Windows:

.\venv\Scripts\activate

Install the libraries pyTelegramBotAPI and python-dotenv

pip install pyTelegramBotAPI python-dotenv

Add your bot's token and name in a .env file.

BOT_TOKEN=1234567890
BOT_NAME=name_example

Then, can start the bot

python bot.py

Top stop it, use the command Ctrl + C

Documentation

  • Command /pokedex {id/name-pokemon} get the principal data of a pokemon
  • Command /help obtain all the commands bot can offers

New features coming soon

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages