diff --git a/commands/search/pkdex.json b/commands/search/pkdex.json index 42251f91..67397dfd 100644 --- a/commands/search/pkdex.json +++ b/commands/search/pkdex.json @@ -1,4 +1,510 @@ { + "index": { + "bulbasaur": "001", + "ivysaur": "002", + "venusaur": "003", + "charmander": "004", + "charmeleon": "005", + "charizard": "006", + "squirtle": "007", + "wartortle": "008", + "blastoise": "009", + "caterpie": "010", + "metapod": "011", + "butterfree": "012", + "weedle": "013", + "kakuna": "014", + "beedrill": "015", + "pidgey": "016", + "pidgeotto": "017", + "pidgeot": "018", + "rattata": "019", + "raticate": "020", + "spearow": "021", + "fearow": "022", + "ekans": "023", + "arbok": "024", + "pikachu": "025", + "raichu": "026", + "sandshrew": "027", + "sandslash": "028", + "nidoranf": "029", + "nidorina": "030", + "nidoqueen": "031", + "nidoranm": "032", + "nidorino": "033", + "nidoking": "034", + "clefairy": "035", + "clefable": "036", + "vulpix": "037", + "ninetales": "038", + "jigglypuff": "039", + "wigglytuff": "040", + "zubat": "041", + "golbat": "042", + "oddish": "043", + "gloom": "044 Gloom", + "vileplume": "045", + "paras": "046", + "parasect": "047", + "venonat": "048", + "venomoth": "049", + "diglett": "050", + "dugtrio": "051", + "meowth": "052", + "persian": "053", + "psyduck": "054", + "golduck": "055", + "mankey": "056", + "primeape": "057", + "growlithe": "058", + "arcanine": "059", + "poliwag": "060", + "poliwhirl": "061", + "poliwrath": "062", + "abra": "063", + "kadabra": "064", + "alakazam": "065", + "machop": "066", + "machoke": "067", + "machamp": "068", + "bellsprout": "069", + "weepinbell": "070", + "victreebel": "071", + "tentacool": "072", + "tentacruel": "073", + "geodude": "074", + "graveler": "075", + "golem": "076", + "ponyta": "077", + "rapidash": "078", + "slowpoke": "079", + "slowbro": "080", + "magnemite": "081", + "magneton": "082", + "farfetch'd": "083", + "doduo": "084", + "dodrio": "085", + "seel": "086", + "dewgong": "087", + "grimer": "088", + "muk": "089", + "shellder": "090", + "cloyster": "091", + "gastly": "092", + "haunter": "093", + "gengar": "094", + "onix": "095", + "drowzee": "096", + "hypno": "097", + "krabby": "098", + "kingler": "099", + "voltorb": "100", + "electrode": "101", + "exeggcute": "102", + "exeggutor": "103", + "cubone": "104", + "marowak": "105", + "hitmonlee": "106", + "hitmonchan": "107", + "lickitung": "108", + "koffing": "109", + "weezing": "110", + "rhyhorn": "111", + "rhydon": "112", + "chansey": "113", + "tangela": "114", + "kangaskhan": "115", + "horsea": "116", + "seadra": "117", + "goldeen": "118", + "seaking": "119", + "staryu": "120", + "starmie": "121", + "mr. mime": "122", + "scyther": "123", + "jynx": "124", + "electabuzz": "125", + "magmar": "126", + "pinsir": "127", + "tauros": "128", + "magikarp": "129", + "gyarados": "130", + "lapras": "131", + "ditto": "132", + "eevee": "133", + "vaporeon": "134", + "jolteon": "135", + "flareon": "136", + "porygon": "137", + "omanyte": "138", + "omastar": "139", + "kabuto": "140", + "kabutops": "141", + "aerodactyl": "142", + "snorlax": "143", + "articuno": "144", + "zapdos": "145", + "moltres": "146", + "dratini": "147", + "dragonair": "148", + "dragonite": "149", + "mewtwo": "150", + "mew": "151", + "chikorita": "152", + "bayleef": "153", + "meganium": "154", + "cyndaquil": "155", + "quilava": "156", + "typhlosion": "157", + "totodile": "158", + "croconaw": "159", + "feraligatr": "160", + "sentret": "161", + "furret": "162", + "hoothoot": "163", + "noctowl": "164", + "ledyba": "165", + "ledian": "166", + "spinarak": "167", + "ariados": "168", + "crobat": "169", + "chinchou": "170", + "lanturn": "171", + "pichu": "172", + "cleffa": "173", + "igglybuff": "174", + "togepi": "175", + "togetic": "176", + "natu": "177", + "xatu": "178", + "mareep": "179", + "flaaffy": "180", + "ampharos": "181", + "bellossom": "182", + "marill": "183", + "azumarill": "184", + "sudowoodo": "185", + "politoed": "186", + "hoppip": "187", + "skiploom": "188", + "jumpluff": "189", + "aipom": "190", + "sunkern": "191", + "sunflora": "192", + "yanma": "193", + "wooper": "194", + "quagsire": "195", + "espeon": "196", + "umbreon": "197", + "murkrow": "198", + "slowking": "199", + "misdreavus": "200", + "unown": "201", + "wobbuffet": "202", + "girafarig": "203", + "pineco": "204", + "forretress": "205", + "dunsparce": "206", + "gligar": "207", + "steelix": "208", + "snubbull": "209", + "granbull": "210", + "qwilfish": "211", + "scizor": "212", + "shuckle": "213", + "heracross": "214", + "sneasel": "215", + "teddiursa": "216", + "ursaring": "217", + "slugma": "218", + "magcargo": "219", + "swinub": "220", + "piloswine": "221", + "corsola": "222", + "remoraid": "223", + "octillery": "224", + "delibird": "225", + "mantine": "226", + "skarmory": "227", + "houndour": "228", + "houndoom": "229", + "kingdra": "230", + "phanpy": "231", + "donphan": "232", + "porygon2": "233", + "stantler": "234", + "smeargle": "235", + "tyrogue": "236", + "hitmontop": "237", + "smoochum": "238", + "elekid": "239", + "magby": "240", + "miltank": "241", + "blissey": "242", + "raikou": "243", + "entei": "244", + "suicune": "245", + "larvitar": "246", + "pupitar": "247", + "tyranitar": "248", + "lugia": "249", + "ho-oh": "250", + "celebi": "251" + }, + "name": { + "bulbasaur": "Bulbasaur", + "ivysaur": "Ivysaur", + "venusaur": "Venusaur", + "charmander": "Charmander", + "charmeleon": "Charmeleon", + "charizard": "Charizard", + "squirtle": "Squirtle", + "wartortle": "Wartortle", + "blastoise": "Blastoise", + "caterpie": "Caterpie", + "metapod": "Metapod", + "butterfree": "Butterfree", + "weedle": "Weedle", + "kakuna": "Kakuna", + "beedrill": "Beedrill", + "pidgey": "Pidgey", + "pidgeotto": "Pidgeotto", + "pidgeot": "Pidgeot", + "rattata": "Rattata", + "raticate": "Raticate", + "spearow": "Spearow", + "fearow": "Fearow", + "ekans": "Ekans", + "arbok": "Arbok", + "pikachu": "Pikachu", + "raichu": "Raichu", + "sandshrew": "Sandshrew", + "sandslash": "Sandslash", + "nidoranf": "NidoranF", + "nidorina": "Nidorina", + "nidoqueen": "Nidoqueen", + "nidoranm": "NidoranM", + "nidorino": "Nidorino", + "nidoking": "Nidoking", + "clefairy": "Clefairy", + "clefable": "Clefable", + "vulpix": "Vulpix", + "ninetales": "Ninetales", + "jigglypuff": "Jigglypuff", + "wigglytuff": "Wigglytuff", + "zubat": "Zubat", + "golbat": "Golbat", + "oddish": "Oddish", + "gloom": "Gloom", + "vileplume": "Vileplume", + "paras": "Paras", + "parasect": "Parasect", + "venonat": "Venonat", + "venomoth": "Venomoth", + "diglett": "Diglett", + "dugtrio": "Dugtrio", + "meowth": "Meowth", + "persian": "Persian", + "psyduck": "Psyduck", + "golduck": "Golduck", + "mankey": "Mankey", + "primeape": "Primeape", + "growlithe": "Growlithe", + "arcanine": "Arcanine", + "poliwag": "Poliwag", + "poliwhirl": "Poliwhirl", + "poliwrath": "Poliwrath", + "abra": "Abra", + "kadabra": "Kadabra", + "alakazam": "Alakazam", + "machop": "Machop", + "machoke": "Machoke", + "machamp": "Machamp", + "bellsprout": "Bellsprout", + "weepinbell": "Weepinbell", + "victreebel": "Victreebel", + "tentacool": "Tentacool", + "tentacruel": "Tentacruel", + "geodude": "Geodude", + "graveler": "Graveler", + "golem": "Golem", + "ponyta": "Ponyta", + "rapidash": "Rapidash", + "slowpoke": "Slowpoke", + "slowbro": "Slowbro", + "magnemite": "Magnemite", + "magneton": "Magneton", + "farfetch'd": "Farfetch'd", + "doduo": "Doduo", + "dodrio": "Dodrio", + "seel": "Seel", + "dewgong": "Dewgong", + "grimer": "Grimer", + "muk": "Muk", + "shellder": "Shellder", + "cloyster": "Cloyster", + "gastly": "Gastly", + "haunter": "Haunter", + "gengar": "Gengar", + "onix": "Onix", + "drowzee": "Drowzee", + "hypno": "Hypno", + "krabby": "Krabby", + "kingler": "Kingler", + "voltorb": "Voltorb", + "electrode": "Electrode", + "exeggcute": "Exeggcute", + "exeggutor": "Exeggutor", + "cubone": "Cubone", + "marowak": "Marowak", + "hitmonlee": "Hitmonlee", + "hitmonchan": "Hitmonchan", + "lickitung": "Lickitung", + "koffing": "Koffing", + "weezing": "Weezing", + "rhyhorn": "Rhyhorn", + "rhydon": "Rhydon", + "chansey": "Chansey", + "tangela": "Tangela", + "kangaskhan": "Kangaskhan", + "horsea": "Horsea", + "seadra": "Seadra", + "goldeen": "Goldeen", + "seaking": "Seaking", + "staryu": "Staryu", + "starmie": "Starmie", + "mr. mime": "Mr. Mime", + "scyther": "Scyther", + "jynx": "Jynx", + "electabuzz": "Electabuzz", + "magmar": "Magmar", + "pinsir": "Pinsir", + "tauros": "Tauros", + "magikarp": "Magikarp", + "gyarados": "Gyarados", + "lapras": "Lapras", + "ditto": "Ditto", + "eevee": "Eevee", + "vaporeon": "Vaporeon", + "jolteon": "Jolteon", + "flareon": "Flareon", + "porygon": "Porygon", + "omanyte": "Omanyte", + "omastar": "Omastar", + "kabuto": "Kabuto", + "kabutops": "Kabutops", + "aerodactyl": "Aerodactyl", + "snorlax": "Snorlax", + "articuno": "Articuno", + "zapdos": "Zapdos", + "moltres": "Moltres", + "dratini": "Dratini", + "dragonair": "Dragonair", + "dragonite": "Dragonite", + "mewtwo": "Mewtwo", + "mew": "Mew", + "chikorita": "Chikorita", + "bayleef": "Bayleef", + "meganium": "Meganium", + "cyndaquil": "Cyndaquil", + "quilava": "Quilava", + "typhlosion": "Typhlosion", + "totodile": "Totodile", + "croconaw": "Croconaw", + "feraligatr": "Feraligatr", + "sentret": "Sentret", + "furret": "Furret", + "hoothoot": "Hoothoot", + "noctowl": "Noctowl", + "ledyba": "Ledyba", + "ledian": "Ledian", + "spinarak": "Spinarak", + "ariados": "Ariados", + "crobat": "Crobat", + "chinchou": "Chinchou", + "lanturn": "Lanturn", + "pichu": "Pichu", + "cleffa": "Cleffa", + "igglybuff": "Igglybuff", + "togepi": "Togepi", + "togetic": "Togetic", + "natu": "Natu", + "xatu": "Xatu", + "mareep": "Mareep", + "flaaffy": "Flaaffy", + "ampharos": "Ampharos", + "bellossom": "Bellossom", + "marill": "Marill", + "azumarill": "Azumarill", + "sudowoodo": "Sudowoodo", + "politoed": "Politoed", + "hoppip": "Hoppip", + "skiploom": "Skiploom", + "jumpluff": "Jumpluff", + "aipom": "Aipom", + "sunkern": "Sunkern", + "sunflora": "Sunflora", + "yanma": "Yanma", + "wooper": "Wooper", + "quagsire": "Quagsire", + "espeon": "Espeon", + "umbreon": "Umbreon", + "murkrow": "Murkrow", + "slowking": "Slowking", + "misdreavus": "Misdreavus", + "unown": "Unown", + "wobbuffet": "Wobbuffet", + "girafarig": "Girafarig", + "pineco": "Pineco", + "forretress": "Forretress", + "dunsparce": "Dunsparce", + "gligar": "Gligar", + "steelix": "Steelix", + "snubbull": "Snubbull", + "granbull": "Granbull", + "qwilfish": "Qwilfish", + "scizor": "Scizor", + "shuckle": "Shuckle", + "heracross": "Heracross", + "sneasel": "Sneasel", + "teddiursa": "Teddiursa", + "ursaring": "Ursaring", + "slugma": "Slugma", + "magcargo": "Magcargo", + "swinub": "Swinub", + "piloswine": "Piloswine", + "corsola": "Corsola", + "remoraid": "Remoraid", + "octillery": "Octillery", + "delibird": "Delibird", + "mantine": "Mantine", + "skarmory": "Skarmory", + "houndour": "Houndour", + "houndoom": "Houndoom", + "kingdra": "Kingdra", + "phanpy": "Phanpy", + "donphan": "Donphan", + "porygon2": "Porygon2", + "stantler": "Stantler", + "smeargle": "Smeargle", + "tyrogue": "Tyrogue", + "hitmontop": "Hitmontop", + "smoochum": "Smoochum", + "elekid": "Elekid", + "magby": "Magby", + "miltank": "Miltank", + "blissey": "Blissey", + "raikou": "Raikou", + "entei": "Entei", + "suicune": "Suicune", + "larvitar": "Larvitar", + "pupitar": "Pupitar", + "tyranitar": "Tyranitar", + "lugia": "Lugia", + "ho-oh": "Ho-Oh", + "celebi": "Celebi" + }, "entry": { "bulbasaur": "A strange seed was planted on its back at birth. The plant sprouts and grows with this Pokémon.", "ivysaur": "When the bulb on its back grows large, it appears to lose the ability to stand on its hind legs.", @@ -151,6 +657,7 @@ "dragonite": "An extremely rarely seen marine Pokémon. Its intelligence is said to match that of humans.", "mewtwo": "It was created by a scientist after years of horrific gene splicing and DNA engineering experiments.", "mew": "So rare that it is still said to be a mirage by many experts. Only a few people have seen it worldwide.", + "missingno.": "コメント さくせいちゅう", "chikorita": "A sweet aroma gently wafts from the leaf on its head. It is docile and loves to soak up the sun's rays.", "bayleef": "The scent of spices comes from around its neck. Somehow, sniffing it makes you want to fight.", "meganium": "The aroma that rises from its petals contains a substance that calms aggressive feelings.", @@ -253,5 +760,513 @@ "celebi": "This Pokémon wanders across time. Grass and trees flourish in the forests in which it has appeared.", "treeko": "Treecko has small hooks on the bottom of its feet that enable it to scale vertical walls. This Pokémon attacks by slamming foes with its thick tail.", "grovyle": "The leaves growing out of Grovyle's body are convenient for camouflaging it from enemies in the forest. This Pokémon is a master at climbing trees in jungles." + }, + "species": { + "bulbasaur": "Seed Pokémon", + "ivysaur": "Seed Pokémon", + "venusaur": "Seed Pokémon", + "charmander": "Lizard Pokémon", + "charmeleon": "Flame Pokémon", + "charizard": "Flame Pokémon", + "squirtle": "Tiny Turtle Pokémon", + "wartortle": "Turtle Pokémon", + "blastoise": "Shellfish Pokémon", + "caterpie": "Worm Pokémon", + "metapod": "Cocoon Pokémon", + "butterfree": "Butterfly Pokémon", + "weedle": "Hairy Bug Pokémon", + "kakuna": "Cocoon Pokémon", + "beedrill": "Poison Bee Pokémon", + "pidgey": "Tiny Bird Pokémon", + "pidgeotto": "Bird Pokémon", + "pidgeot": "Bird Pokémon", + "rattata": "Mouse Pokémon", + "raticate": "Mouse Pokémon", + "spearow": "Tiny Bird Pokémon", + "fearow": "Beak Pokémon", + "ekans": "Snake Pokémon", + "arbok": "Cobra Pokémon", + "pikachu": "Mouse Pokémon", + "raichu": "Mouse Pokémon", + "sandshrew": "Mouse Pokémon", + "sandslash": "Mouse Pokémon", + "nidoranf": "Poison Pin Pokémon", + "nidorina": "Poison Pin Pokémon", + "nidoqueen": "Drill Pokémon", + "nidoranm": "Poison Pin Pokémon", + "nidorino": "Poison Pin Pokémon", + "nidoking": "Drill Pokémon", + "clefairy": "Fairy Pokémon", + "clefable": "Fairy Pokémon", + "vulpix": "Fox Pokémon", + "ninetales": "Fox Pokémon", + "jigglypuff": "Balloon Pokémon", + "wigglytuff": "Balloon Pokémon", + "zubat": "Bat Pokémon", + "golbat": "Bat Pokémon", + "oddish": "Weed Pokémon", + "gloom": "Weed Pokémon", + "vileplume": "Flower Pokémon", + "paras": "Mushroom Pokémon", + "parasect": "Mushroom Pokémon", + "venonat": "Insect Pokémon", + "venomoth": "Poison Moth Pokémon", + "diglett": "Mole Pokémon", + "dugtrio": "Mole Pokémon", + "meowth": "Scratch Cat Pokémon", + "persian": "Classy Cat Pokémon", + "psyduck": "Duck Pokémon", + "golduck": "Duck Pokémon", + "mankey": "Pig Monkey Pokémon", + "primeape": "Pig Monkey Pokémon", + "growlithe": "Puppy Pokémon", + "arcanine": "Legendary Pokémon", + "poliwag": "Tadpole Pokémon", + "poliwhirl": "Tadpole Pokémon", + "poliwrath": "Tadpole Pokémon", + "abra": "Psi Pokémon", + "kadabra": "Psi Pokémon", + "alakazam": "Psi Pokémon", + "machop": "Superpower Pokémon", + "machoke": "Superpower Pokémon", + "machamp": "Superpower Pokémon", + "bellsprout": "Flower Pokémon", + "weepinbell": "Flycatcher Pokémon", + "victreebel": "Flycatcher Pokémon", + "tentacool": "Jellyfish Pokémon", + "tentacruel": "Jellyfish Pokémon", + "geodude": "Rock Pokémon", + "graveler": "Rock Pokémon", + "golem": "Megaton Pokémon", + "ponyta": "Fire Horse Pokémon", + "rapidash": "Fire Horse Pokémon", + "slowpoke": "Dopey Pokémon", + "slowbro": "Hermit Crab Pokémon", + "magnemite": "Magnet Pokémon", + "magneton": "Magnet Pokémon", + "farfetch'd": "Wild Duck Pokémon", + "doduo": "Twin Bird Pokémon", + "dodrio": "Triple Bird Pokémon", + "seel": "Sea Lion Pokémon", + "dewgong": "Sea Lion Pokémon", + "grimer": "Sludge Pokémon", + "muk": "Sludge Pokémon", + "shellder": "Bivalve Pokémon", + "cloyster": "Bivalve Pokémon", + "gastly": "Gas Pokémon", + "haunter": "Gas Pokémon", + "gengar": "Shadow Pokémon", + "onix": "Rock Snake Pokémon", + "drowzee": "Hypnosis Pokémon", + "hypno": "Hypnosis Pokémon", + "krabby": "River Crab Pokémon", + "kingler": "Pincer Pokémon", + "voltorb": "Ball Pokémon", + "electrode": "Ball Pokémon", + "exeggcute": "Egg Pokémon", + "exeggutor": "Coconut Pokémon", + "cubone": "Lonely Pokémon", + "marowak": "Bone Keeper Pokémon", + "hitmonlee": "Kicking Pokémon", + "hitmonchan": "Punching Pokémon", + "lickitung": "Licking Pokémon", + "koffing": "Poison Gas Pokémon", + "weezing": "Poison Gas Pokémon", + "rhyhorn": "Spikes Pokémon", + "rhydon": "Drill Pokémon", + "chansey": "Egg Pokémon", + "tangela": "Vine Pokémon", + "kangaskhan": "Parent Pokémon", + "horsea": "Dragon Pokémon", + "seadra": "Dragon Pokémon", + "goldeen": "Goldfish Pokémon", + "seaking": "Goldfish Pokémon", + "staryu": "Star Shape Pokémon", + "starmie": "Mysterious Pokémon", + "mr. mime": "Barrier Pokémon", + "scyther": "Mantis Pokémon", + "jynx": "Human Shape Pokémon", + "electabuzz": "Electric Pokémon", + "magmar": "Spitfire Pokémon", + "pinsir": "Stag Beetle Pokémon", + "tauros": "Wild Bull Pokémon", + "magikarp": "Fish Pokémon", + "gyarados": "Atrocious Pokémon", + "lapras": "Transport Pokémon", + "ditto": "Transform Pokémon", + "eevee": "Evolution Pokémon", + "vaporeon": "Bubble Jet Pokémon", + "jolteon": "Lightning Pokémon", + "flareon": "Flame Pokémon", + "porygon": "Virtual Pokémon", + "omanyte": "Spiral Pokémon", + "omastar": "Spiral Pokémon", + "kabuto": "Shellfish Pokémon", + "kabutops": "Shellfish Pokémon", + "aerodactyl": "Fossil Pokémon", + "snorlax": "Sleeping Pokémon", + "articuno": "Freeze Pokémon", + "zapdos": "Electric Pokémon", + "moltres": "Flame Pokémon", + "dratini": "Dragon Pokémon", + "dragonair": "Dragon Pokémon", + "dragonite": "Dragon Pokémon", + "mewtwo": "Genetic Pokémon", + "mew": "New Species Pokémon", + "missingno.": " ??? Pokémon", + "chikorita": "Leaf Pokémon", + "bayleef": "Leaf Pokémon", + "meganium": "Herb Pokémon", + "cyndaquil": "Fire Mouse Pokémon", + "quilava": "Volcano Pokémon", + "typhlosion": "Volcano Pokémon", + "totodile": "Big Jaw Pokémon", + "croconaw": "Big Jaw Pokémon", + "feraligatr": "Big Jaw Pokémon", + "sentret": "Scout Pokémon", + "furret": "Long Body Pokémon", + "hoothoot": "Owl Pokémon", + "noctowl": "Owl Pokémon", + "ledyba": "Five Star Pokémon", + "ledian": "Five Star Pokémon", + "spinarak": "String Spit Pokémon", + "ariados": "Long Leg Pokémon", + "crobat": "Bat Pokémon", + "chinchou": "Angler Pokémon", + "lanturn": "Light Pokémon", + "pichu": "Tiny Mouse Pokémon", + "cleffa": "Star Shape Pokémon", + "igglybuff": "Balloon Pokémon", + "togepi": "Spike Ball Pokémon", + "togetic": "Happiness Pokémon", + "natu": "Tiny Bird Pokémon", + "xatu": "Mystic Pokémon", + "mareep": "Wool Pokémon", + "flaaffy": "Wool Pokémon", + "ampharos": "Light Pokémon", + "bellossom": "Flower Pokémon", + "marill": "Aqua Mouse Pokémon", + "azumarill": "Aqua Rabbit Pokémon", + "sudowoodo": "Imitation Pokémon", + "politoed": "Frog Pokémon", + "hoppip": "Cottonweed Pokémon", + "skiploom": "Cottonweed Pokémon", + "jumpluff": "Cottonweed Pokémon", + "aipom": "Long Tail Pokémon", + "sunkern": "Seed Pokémon", + "sunflora": "Sun Pokémon", + "yanma": "Clear Wing Pokémon", + "wooper": "Water Fish Pokémon", + "quagsire": "Water Fish Pokémon", + "espeon": "Sun Pokémon", + "umbreon": "Moonlight Pokémon", + "murkrow": "Darkness Pokémon", + "slowking": "Royal Pokémon", + "misdreavus": "Screech Pokémon", + "unown": "Symbol Pokémon", + "wobbuffet": "Patient Pokémon", + "girafarig": "Long Neck Pokémon", + "pineco": "Bagworm Pokémon", + "forretress": "Bagworm Pokémon", + "dunsparce": "Land Snake Pokémon", + "gligar": "Fly Scorpion Pokémon", + "steelix": "Iron Snake Pokémon", + "snubbull": "Fairy Pokémon", + "granbull": "Fairy Pokémon", + "qwilfish": "Balloon Pokémon", + "scizor": "Pincer Pokémon", + "shuckle": "Mold Pokémon", + "heracross": "Single Horn Pokémon", + "sneasel": "Sharp Claw Pokémon", + "teddiursa": "Little Bear Pokémon", + "ursaring": "Hibernator Pokémon", + "slugma": "Lava Pokémon", + "magcargo": "Lava Pokémon", + "swinub": "Pig Pokémon", + "piloswine": "Swine Pokémon", + "corsola": "Coral Pokémon", + "remoraid": "Jet Pokémon", + "octillery": "Jet Pokémon", + "delibird": "Delivery Pokémon", + "mantine": "Kite Pokémon", + "skarmory": "Armor Bird Pokémon", + "houndour": "Dark Pokémon", + "houndoom": "Dark Pokémon", + "kingdra": "Dragon Pokémon", + "phanpy": "Long Nose Pokémon", + "donphan": "Armor Pokémon", + "porygon2": "Virtual Pokémon", + "stantler": "Big Horn Pokémon", + "smeargle": "Painter Pokémon", + "tyrogue": "Scuffle Pokémon", + "hitmontop": "Handstand Pokémon", + "smoochum": "Kiss Pokémon", + "elekid": "Electric Pokémon", + "magby": "Live Coal Pokémon", + "miltank": "Milk Cow Pokémon", + "blissey": "Happiness Pokémon", + "raikou": "Thunder Pokémon", + "entei": "Volcano Pokémon", + "suicune": "Aurora Pokémon", + "larvitar": "Rock Skin Pokémon", + "pupitar": "Hard Shell Pokémon", + "tyranitar": "Armor Pokémon", + "lugia": "Diving Pokémon", + "ho-oh": "Rainbow Pokémon", + "celebi": "Time Travel Pokémon" + }, + "type": { + "bulbasaur": "Grass/Poison", + "ivysaur": "Grass/Poison", + "venusaur": "Grass/Poison", + "charmander": "Fire", + "charmeleon": "Fire", + "charizard": "Fire/Flying", + "squirtle": "Water", + "wartortle": "Water", + "blastoise": "Water", + "caterpie": "Bug", + "metapod": "Bug", + "butterfree": "Bug/Flying", + "weedle": "Bug/Poison", + "kakuna": "Bug/Poison", + "beedrill": "Bug/Poison", + "pidgey": "Normal/Flying", + "pidgeotto": "Normal/Flying", + "pidgeot": "Normal/Flying", + "rattata": "Normal", + "raticate": "Normal", + "spearow": "Normal/Flying", + "fearow": "Normal/Flying", + "ekans": "Poison", + "arbok": "Poison", + "pikachu": "Electric", + "raichu": "Electric", + "sandshrew": "Ground", + "sandslash": "Ground", + "nidoranf": "Poison", + "nidorina": "Poison", + "nidoqueen": "Poison/Ground", + "nidoranm": "Poison", + "nidorino": "Poison", + "nidoking": "Poison/Ground", + "clefairy": "Fairy", + "clefable": "Fairy", + "vulpix": "Fire", + "ninetales": "Fire", + "jigglypuff": "Normal/Fairy", + "wigglytuff": "Normal/Fairy", + "zubat": "Poison/Flying", + "golbat": "Poison/Flying", + "oddish": "Grass/Poison", + "gloom": "Grass/Poison", + "vileplume": "Grass/Poison", + "paras": "Bug/Grass", + "parasect": "Bug/Grass", + "venonat": "Bug/Poison", + "venomoth": "Bug/Poison", + "diglett": "Ground", + "dugtrio": "Ground", + "meowth": "Normal", + "persian": "Normal", + "psyduck": "Water", + "golduck": "Water", + "mankey": "Fighting", + "primeape": "Fighting", + "growlithe": "Fire", + "arcanine": "Fire", + "poliwag": "Water", + "poliwhirl": "Water", + "poliwrath": "Water/Fighting", + "abra": "Psychic", + "kadabra": "Psychic", + "alakazam": "Psychic", + "machop": "Fighting", + "machoke": "Fighting", + "machamp": "Fighting", + "bellsprout": "Grass/Poison", + "weepinbell": "Grass/Poison", + "victreebel": "Grass/Poison", + "tentacool": "Water/Poison", + "tentacruel": "Water/Poison", + "geodude": "Rock/Ground", + "graveler": "Rock/Ground", + "golem": "Rock/Ground", + "ponyta": "Fire", + "rapidash": "Fire", + "slowpoke": "Water/Psychic", + "slowbro": "Water/Psychic", + "magnemite": "Electric/Steel", + "magneton": "Electric/Steel", + "farfetch'd": "Normal/Flying", + "doduo": "Normal/Flying", + "dodrio": "Normal/Flying", + "seel": "Water", + "dewgong": "Water/Ice", + "grimer": "Poison", + "muk": "Poison", + "shellder": "Water", + "cloyster": "Water/Ice", + "gastly": "Ghost/Poison", + "haunter": "Ghost/Poison", + "gengar": "Ghost/Poison", + "onix": "Rock/Ground", + "drowzee": "Psychic", + "hypno": "Psychic", + "krabby": "Water", + "kingler": "Water", + "voltorb": "Electric", + "electrode": "Electric", + "exeggcute": "Grass/Psychic", + "exeggutor": "Grass/Psychic", + "cubone": "Ground", + "marowak": "Ground", + "hitmonlee": "Fighting", + "hitmonchan": "Fighting", + "lickitung": "Normal", + "koffing": "Poison", + "weezing": "Poison", + "rhyhorn": "Ground/Rock", + "rhydon": "Ground/Rock", + "chansey": "Normal", + "tangela": "Grass", + "kangaskhan": "Normal", + "horsea": "Water", + "seadra": "Water", + "goldeen": "Water", + "seaking": "Water", + "staryu": "Water", + "starmie": "Water/Psychic", + "mr. mime": "Psychic/Fairy", + "scyther": "Bug/Flying", + "jynx": "Ice/Psychic", + "electabuzz": "Electric", + "magmar": "Fire", + "pinsir": "Bug", + "tauros": "Normal", + "magikarp": "Water", + "gyarados": "Water/Flying", + "lapras": "Water/Ice", + "ditto": "Normal", + "eevee": "Normal", + "vaporeon": "Water", + "jolteon": "Electric", + "flareon": "Fire", + "porygon": "Normal", + "omanyte": "Rock/Water", + "omastar": "Rock/Water", + "kabuto": "Rock/Water", + "kabutops": "Rock/Water", + "aerodactyl": "Rock/Flying", + "snorlax": "Normal", + "articuno": "Ice/Flying", + "zapdos": "Electric/Flying", + "moltres": "Fire/Flying", + "dratini": "Dragon", + "dragonair": "Dragon", + "dragonite": "Dragon/Flying", + "mewtwo": "Psychic", + "mew": "Psychic", + "missingno.": "Bird/Normal", + "chikorita": "Grass", + "bayleef": "Grass", + "meganium": "Grass", + "cyndaquil": "Fire", + "quilava": "Fire", + "typhlosion": "Fire", + "totodile": "Water", + "croconaw": "Water", + "feraligatr": "Water", + "sentret": "Normal", + "furret": "Normal", + "hoothoot": "Normal/Flying", + "noctowl": "Normal/Flying", + "ledyba": "Bug/Flying", + "ledian": "Bug/Flying", + "spinarak": "Bug/Poison", + "ariados": "Bug/Poison", + "crobat": "Poison/Flying", + "chinchou": "Water/Electric", + "lanturn": "Water/Electric", + "pichu": "Electric", + "cleffa": "Fairy", + "igglybuff": "Normal/Fairy", + "togepi": "Fairy", + "togetic": "Fairy/Flying", + "natu": "Psychic/Flying", + "xatu": "Psychic/Flying", + "mareep": "Electric", + "flaaffy": "Electric", + "ampharos": "Electric", + "bellossom": "Grass", + "marill": "Water/Fairy", + "azumarill": "Water/Fairy", + "sudowoodo": "Rock", + "politoed": "Water", + "hoppip": "Grass/Flying", + "skiploom": "Grass/Flying", + "jumpluff": "Grass/Flying", + "aipom": "Normal", + "sunkern": "Grass", + "sunflora": "Grass", + "yanma": "Bug/Flying", + "wooper": "Water/Ground", + "quagsire": "Water/Ground", + "espeon": "Psychic", + "umbreon": "Dark", + "murkrow": "Dark/Flying", + "slowking": "Water/Psychic", + "misdreavus": "Ghost", + "unown": "Psychic", + "wobbuffet": "Psychic", + "girafarig": "Normal/Psychic", + "pineco": "Bug", + "forretress": "Bug/Steel", + "dunsparce": "Normal", + "gligar": "Ground/Flying", + "steelix": "Steel/Ground", + "snubbull": "Fairy", + "granbull": "Fairy", + "qwilfish": "Water/Poison", + "scizor": "Bug/Steel", + "shuckle": "Bug/Rock", + "heracross": "Bug/Fighting", + "sneasel": "Dark/Ice", + "teddiursa": "Normal", + "ursaring": "Normal", + "slugma": "Fire", + "magcargo": "Fire/Rock", + "swinub": "Ice/Ground", + "piloswine": "Ice/Ground", + "corsola": "Water/Rock", + "remoraid": "Water", + "octillery": "Water", + "delibird": "Ice/Flying", + "mantine": "Water/Flying", + "skarmory": "Steel/Flying", + "houndour": "Dark/Fire", + "houndoom": "Dark/Fire", + "kingdra": "Water/Dragon", + "phanpy": "Ground", + "donphan": "Ground", + "porygon2": "Normal", + "stantler": "Normal", + "smeargle": "Normal", + "tyrogue": "Fighting", + "hitmontop": "Fighting", + "smoochum": "Ice/Psychic", + "elekid": "Electric", + "magby": "Fire", + "miltank": "Normal", + "blissey": "Normal", + "raikou": "Electric", + "entei": "Fire", + "suicune": "Water", + "larvitar": "Rock/Ground", + "pupitar": "Rock/Ground", + "tyranitar": "Rock/Dark", + "lugia": "Psychic/Flying", + "ho-oh": "Fire/Flying", + "celebi": "Psychic/Grass" } } diff --git a/commands/search/pokedex.js b/commands/search/pokedex.js index 51cd7aa4..f58385fe 100644 --- a/commands/search/pokedex.js +++ b/commands/search/pokedex.js @@ -1,6 +1,5 @@ const { Command } = require('discord.js-commando'); const { RichEmbed } = require('discord.js'); -const snekfetch = require('snekfetch'); const pokedex = require('./pkdex.json'); module.exports = class PokedexCommand extends Command { @@ -12,59 +11,39 @@ module.exports = class PokedexCommand extends Command { ], group: 'search', memberName: 'pokedex', - description: 'Gives the pokedex info for a Pokemon. (;pokedex Pikachu)', + description: 'Gives the pokedex entry for a Pokemon. (;pokedex Pikachu)', examples: [';pokedex Pikachu'], args: [{ key: 'pokemon', prompt: 'What Pokémon would you like to get info on?', - type: 'string' + type: 'string', + validate: pokemon => { + if (pokedex.name[pokemon.toLowerCase()]) { + return true; + } + return 'Please enter a valid Pokémon from either Kanto or Johto.'; + } }] }); } - async run(message, args) { + run(message, args) { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } const pokemon = args.pokemon.toLowerCase(); - try { - const response = await snekfetch - .get(`http://pokeapi.co/api/v2/pokemon/${pokemon}`); - const data = response.body; - const entry = pokedex.entry[pokemon] || 'Not Yet Implemented'; - const indexZero = '000'.slice(data.id.toString().length); - const type1 = data.types[1] ? data.types[1].type.name : '-'; - const type2 = data.types[0] ? data.types[0].type.name : '-'; - const embed = new RichEmbed() - .setAuthor(`#${indexZero}${data.id} ${data.name}`, `http://www.serebii.net/pokedex-sm/icon/${indexZero}${data.id}.png`) - .setColor(0xFF0000) - .setDescription(entry) - .setFooter('Pokédex', 'http://cdn.bulbagarden.net/upload/thumb/3/36/479Rotom-Pokédex.png/250px-479Rotom-Pokédex.png') - .setThumbnail(data.sprites.front_default) - .addField('**Types:**', - `${type1} / ${type2}`) - .addField('**Weight:**', - `${data.weight / 10}kg`, true) - .addField('**Height:**', - `${data.height / 10}m`, true) - .addField('**Base HP:**', - data.stats[5].base_stat, true) - .addField('**Base ATK:**', - data.stats[4].base_stat, true) - .addField('**Base DEF:**', - data.stats[3].base_stat, true) - .addField('**Base SPATK:**', - data.stats[2].base_stat, true) - .addField('**Base SPDEF:**', - data.stats[1].base_stat, true) - .addField('**Base SPD:**', - data.stats[0].base_stat, true); - return message.embed(embed); - } - catch (err) { - console.error(err); - return message.say(':x: Error! Something went wrong!'); - } + const embed = new RichEmbed() + .setTitle('Information') + .setAuthor(`#${pokedex.index[pokemon]} ${pokedex.name[pokemon]}`, `http://www.serebii.net/pokedex-sm/icon/${pokedex.index[pokemon]}.png`) + .setColor(0xFF0000) + .setDescription(pokedex.species[pokemon]) + .setFooter('Pokédex', 'http://cdn.bulbagarden.net/upload/thumb/3/36/479Rotom-Pokédex.png/250px-479Rotom-Pokédex.png') + .setThumbnail(`http://www.serebii.net/sunmoon/pokemon/${pokedex.index[pokemon]}.png`) + .addField('Entry', + pokedex.entry[pokemon]) + .addField('Type', + pokedex.type[pokemon]); + return message.embed(embed); } };