Giter VIP home page Giter VIP logo

pokemoves's Introduction

Pokemoves Bot

About

Pokemoves Bot is a Discord chat bot created to aid Pokemon GO PvP players, based on the pokemoves site project and written in node.js. A basic rundown of the PvP system is that Pokemon have a single fast move and up to 2 charged moves. Each use of the fast move generates a certain amount of energy that is used to "charge" the charged move. Knowing how many fast moves it takes for a Pokemon to generate enough energy to launch a charged move is vital information in high levels of play. This bot will take a Pokemon name as input and return the counts of how many of each fast move it will take to generate the energy for its charged moves.

Technologies

Uses:

  • Node.js v 17.0.1
  • discord.js v13

Setup

Install any necessary components

npm install discord.js npm install dotenv

Clone this project.

Afterwards, run it locally using node app in the src directory. That's where the bot will be running from.

Notes

graph TD
  subgraph "buildData Object"
    pokemon{pokemon}
    moves{moves}
    counts{counts}
  end

  pokemon --> |Array of Pokemon Objects| pokemonObj{Pokemon Object}
  moves --> |Object of Move Details| moveDetails{Move Details}
  counts --> |Object of Fast Move Counts| fastMoveCounts{Fast Move Counts}

  pokemonObj --> name["name"]
  pokemonObj --> types["types"]
  pokemonObj --> fastMoveIds["fastMoveIds"]
  pokemonObj --> chargedMoveIds["chargedMoveIds"]
  pokemonObj --> cmp["cmp"]

  moveDetails --> |Move ID| moveID["Move ID"]
  moveDetails --> |Move Details| moveName["name"]
  moveDetails --> |Move Type| moveType["type"]
  moveDetails --> |Energy Cost| moveEnergy["energy"]

  fastMoveCounts --> |Fast Move ID| fastMoveID["Fast Move ID"]
  fastMoveCounts --> |Counts for Charged Moves| chargedMoveCounts["Charged Move Counts"]

Credits

This bot builds on the great work of Jamie Humphries, whom's site can be accessed here.

pokemoves's People

Contributors

jamiehumphries avatar swiftcast avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

yigitsasmazs

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.