Skip to content

DetainedDeveloper/PokeBot-Pokemon-Discord-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PokeBot : Pokemon Discord Bot

PokeBot has collection of data of 890 pokemons and can perform various commands. All data was scraped using Pokemon Data Scraper

Other than this, all pokemon data is available in both, a single file and a categorized folder in array[] and map{} structures in Pokedex

PokeBot Commands

  • p!dev : Get information about the Developer, me!
  • p!info pokemon_name : Get information about a specific pokemon
  • p!random : Get information about a random pokemon (Yet to be implemented)
  • p!battle pokemon 1, pokemon 2, ..., pokemon n : Battle two or multiple pokemons
  • p!ping : Ping PokeBot
  • p!help : List all PokeBot commands

Screenshots

Help

Pokemon Info

Battle Two

Battle Multiple

Project Structure

pokebot.js

  • pokebot.js contains all the functions and logic. I might make different modules once I learn more JavaScript

data

  • config.json contains Bot Token, paste yours to get the bot up and running
  • data.json contains map{} of 890 { pokemon_name : data } pairs
  • dev.json contains information about the Developer, me!

How to use

  • I found this very informative starting guide that helped me set up the environment

  • After pasting your Bot Token in data/config.js, run node pokebot.js

  • You can also install nodemon by

    • npm install --save-dev nodemon -g
    • then add "start" : "nodemon pokebot.js" inside scripts{} in package.json
    • then simply run nodemon pokebot.js, this will automatically restart the server whenever you make changes in your files and save them
  • Last but not least, check out Embed Messages to design beautiful message templates

Releases

No releases published

Packages

No packages published