AkshatOP / pokehint

NPM package to automatically solve hints & check the rarity of pokemon, made for pokemon discord bots like Pokétwo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PokeHint

NPM package to automatically solve hints & check the rarity of pokemon, made for pokemon discord bots like Pokétwo

Installation

Use the package manager npm to install the module.

npm i pokehint

Usage

const { solveHint, checkRarity } = require('pokehint');

// Solving hints
var hint = message.content;
console.log(solveHint(hint)) // Logs the Pokémon that has been found.

// Checking the rarity
var pokemonName = 'Moltres';
console.log(checkRarity(pokemonName)) // Logs Moltres' rarity: 'Legendary'.

Links

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

NPM package to automatically solve hints & check the rarity of pokemon, made for pokemon discord bots like Pokétwo

License:MIT License


Languages

Language:JavaScript 100.0%