Giter Site home page Giter Site logo

ubeydeozdmr / pokedex-bot-telegram Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 81 KB

Pokédex Bot for Telegram can show you the list of all pokémon and give you the picture and description of that pokémon in return for you to enter the ID or name of the pokémon you requested.

Home Page: https://t.me/rotompokedex_bot

License: MIT License

JavaScript 100.00%
javascript telegraf telegraf-bots telegram telegram-bot telegram-api telegram-bot-api api axios pokemon pokemon-api pokedex pokedex-api bot nodejs

pokedex-bot-telegram's Introduction

Pokedex Bot for Telegram

Note: The old version of the project has been migrated to the legacy branch. Click here to view.

What's new in version 1.1

  • Some folder & file names changed.
    • An attempt was made to format the project structure as MVC.
    • For instance: /src/models/pokemonListModel.js instead of /src/handlers/getPokemonListData.js
  • Inline buttons has been added.
    • Types and Abilities buttons has been added.
  • User experience has been improved.
    • You can now put spaces between words instead of short lines when typing Pokémon with names of 2 or more words.
    • When you want to see a pokemon in the list after using the /pklist <digit> command, instead of entering the /pk <pokémons name / ID> command, you will be able to copy the code snippet to the right of each pokemon.
  • New folder location is specified.
    • package.json now uses /src/index.js as the main file instead of /index.js.
  • Added emojis for weight and length.
  • Some bugs fixed
    • some word/numbers causing the crash, ID not showing, possible vulnerabilities etc.

See full changelog

What is it & what does it do?

This app is a Telegram bot made using node.js and PokeAPI. With this bot, you can see the list of pokemon or You can see the picture of the pokemon by entering the ID or name of the pokemon you want, its stats, types, physical characteristics, etc. you can see. You can click here to try it.

Development

Requirements

After that...

  • Use npm install command to add project dependencies to your repo
  • After creating the .env file, type BOT_TOKEN= followed by the token you got from BotFather.
  • Use npm start command to start your project.

pokedex-bot-telegram's People

Contributors

ubeydeozdmr avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.