SkillAgentSearch skills...

Pokehint

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

Install / Use

npx skills add kyan0045/pokehint

Installs into whichever agent you are using.

About this skill

Quality Score

0/100

Supported Platforms

Universal

README

PokeHint

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

CI

Installation

Use the package manager npm to install the module.

npm i pokehint

Usage

const { solveHint, checkRaritySync, getName, getImage } = require("pokehint");

async function main() {
  // Solving hints returns every matching name.
  console.log(solveHint("The pokémon is M_l__es.")); // ["Moltres"]

  // Checking rarity.
  console.log(checkRaritySync("Moltres")); // "Legendary"

  // Converting a name to a different language.
  console.log(
    await getName({
      name: "Solosis",
      language: "French",
      inputLanguage: "English",
    })
  ); // "Nucléos"

  // Getting regular, shiny, and Gigantamax Pokétwo sprites.
  console.log(getImage("Charizard")); // https://cdn.poketwo.net/images/6.png
  console.log(getImage("Charizard", true)); // https://cdn.poketwo.net/shiny/6.png
  console.log(getImage("Charizard", false, true)); // https://cdn.poketwo.net/images/10187.png
}

main().catch(console.error);

Rarity Migration

checkRarity() is deprecated but remains available for compatibility with Promise-based code. Use the synchronous checkRaritySync() for new code:

const { checkRarity, checkRaritySync } = require("pokehint");

checkRaritySync("Moltres"); // "Legendary"
await checkRarity("Moltres"); // "Legendary" (deprecated)

Links

Contributing

Pull requests are always welcome, as long as you follow our contributing guidelines. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update the usage examples in this file as appropriate.

License

MIT

Related Skills

View on GitHub
GitHub Stars28
CategoryDevelopment
Updated13d ago
Forks14

Languages

JavaScript

Security Score

95/100

Audited on Jul 25, 2026

No findings