-
Notifications
You must be signed in to change notification settings - Fork 95
Pokedex RedV3
Special thanks to Claire on discord for her hard work and dedication. Claire searched through over 800 Pokémon + forms/colors/megas/variants. Without her help and passion, tons and tons of bugs would have taken forever to fix and the pokedex cog would have stayed in the mess of regex hell. Thank you! I'm eternally grateful.
Pokedex allows you to query a ton of data about Pokémon. You can look-up movesets and tmsets for each Pokémon using a menu type system. You can also see where to catch a Pokémon, or just view the standard data statistics about them. Pokedex also provides generational searching, so you can see data specific to that game. Standard data searches also allow you to see different forms, variants, megas, alola, and modes. Pokedex uses a CSV file that comes with the installation for all of your searches, so you never have to worry about an external service going down.
- Pokedex information
- Pokedex supports Aolola, Forms, Megas, Colors, and Variants
- TM Learn Set Searches
- Search For Items
- Catch Locations
- Move Set Information
Commands | Description |
---|---|
pokedex | Search for information on a Pokémon |
pokemon item | Get a description of an item in the Pokémon universe |
pokemon location | Get a Pokémon's catch location |
pokemon moves | Search for a Pokémon's move set |
pokemon tmset | Search for a Pokémon's learn set |
pokemon version | Display the Pokedex cog's version |
[p]pokedex <pokemon>
NOTE: The bot must have permission to send embedded text for this command to function. This command uses a custom csv file included in your data/pokedex/ folder to output this data. The file, pokemon.csv, MUST be in the folder for this command to work properly. A dash should be used when denoting a mega, alola, form, color, or variant. This commmand is not case sensitive. All hyperlinks will take you to Bulbapedia for the appropriate information. A Pokémon's primary type will determine the embed's color. This command also has a built in alias set to dex.
Finally, the stats displayed are based on the generation it was introduced. The stats of many older Pokémon, such as Alakazam, have received multiple stat adjustments over the course of several generations. Please refer to their respective Bulbapedia page for more information.
Examples:
Regular: [p]pokedex pikachu
Megas: [p]pokedex charizard-mega y
Alola: [p]pokedex geodude-alola
Forms: [p]pokedex hoopa-unbound
Variants: [p]pokedex floette-orange
Displays the following information in an embed:
- Name, ID
- Japanese Name
- Species
- Stats
- Types
- Resistances/Weaknesses
- Abilities
- Flavor Text
- Pokémon Image
[p]pokemon moves <pokemon>
Returns the set of moves a Pokémon learns as it levels up. Also displays the versions corresponding to that generation. Generations should be expressed in dash number notation. For example, [p]pokemon moves entei-4
. When a generation is not specified, the output will display the first generation that Pokémon appeared.
[p]pokemon tmset <generation> <pokemon>
This is a list of TMs a Pokémon can learn, based on generation. The generation must be specified as a digit 1-7 or expressed as a roman numeral I-VII. If an incorrect generation is provided it will default to generation VII. The data outputs into a markdown table.
[p]pokemon item <pokemon>
Retrieves the cost, item-type, effect, and image of an item. The display will result in an embed.
[p]pokemon location <pokemon>
Displays the catch location/receipt of a Pokémon based on game version. Some Pokémon, such as starters, will only display the town they are received in. The menu will move through the locations for each version. Some versions are grouped together for simplicity and brevity.
Q: Why did you change the group command from pokedex to pokemon?
A: Typing something like `[p]pokedex pokemon charizard-mega y' is so wordy. Sure you can make an alias, but not everyone who uses my cogs understand how to make an alias. Additionally, a command is probably too wordy if you feel like it needs an alias in the first place.
Q: Hey. Why do Pokémon like Geodude have gen I stats? Aren't we on Gen VII now?
A: Pokedex will display the stats based on the generation it was introduced. See pokedex
Q: Why use CSV for your searches, and not just use the poke-api?
A: I get this question a lot, and honestly I wish that I could use it! The problem is that the queries are painfully slow. I have had some queries take me nearly 10 seconds for a return! Now you have no api limitations, and 100% uptime.
Q: Yeah but...why CSV? Why not SQL or some other db?
A: CSV was a cheap and dirty solution to the poke api problem. I do plan to consider looking into using sql-lite which will make searching even faster, but it's a little more heavy. I think the searches are already pretty damn quick, but it might be a better solution in the future.
Q: Can I use your CSV data and build my own thing?
A: Absolutely! Just make sure to credit me for the data collection. I hope you can make good use of it.
Q: What do I do if I find a bug-type Pokémon in your code?
A: Let me know in my support channel. If you are tech savvy enough to fix it on your own, then shoot me a PR on github.
Q: How can I help?
A: Report bugs, submit prs, help others, and work to help improve the experience in my support channel here.
Claire - Tester
Bulbapedia - Resource
Pokemondb - Resource
All information provided by this cog, within the Pokémon universe, is the intellectual property of Nintendo Co., Ltd., Creatures Inc., and Game Freak Inc.
While this wiki contains a lot of information, some of it may be incomplete. If the information contained here still does not answer your question, feel free to pop over to my support channel on Red - Cog Support Server.