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/pokehintInstalls into whichever agent you are using.
README
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, 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
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.6kCommit, push, and open a PR
