diff --git a/README.md b/README.md index 5be0daeb..bceb2fcb 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ Xiao is a Discord bot coded in JavaScript with * [Automatic Response](#automatic-response) * [Events](#events) * [Search](#search) + * [Pokédex](#pokedex) * [Analyzers](#analyzers) * [Single-Player Games](#single-player-games) * [Multi-Player Games](#multi-player-games) @@ -505,10 +506,6 @@ Total: 576 * **paladins:** Responds with information on a Paladins player. * **periodic-table:** Finds an element on the periodic table. * **poem:** Searches for poems by a specific author. -* **pokedex-image:** Responds with the image of a Pokémon. -* **pokedex-location:** Responds with the location data for a Pokémon. -* **pokedex-moveset:** Responds with the moveset for a Pokémon. -* **pokedex:** Searches the Pokédex for a Pokémon. * **pornhub:** Searches Pornhub for your query. (NSFW) * **recipe:** Searches for recipes based on your query. * **reddit:** Responds with information on a Reddit user. @@ -536,6 +533,14 @@ Total: 576 * **youtube:** Searches YouTube for your query. * **yu-gi-oh:** Responds with info on a Yu-Gi-Oh! card. +### Pokédex: + +* **pokedex-cry:** Plays a Pokémon's cry. +* **pokedex-image:** Responds with the image of a Pokémon. +* **pokedex-location:** Responds with the location data for a Pokémon. +* **pokedex-moveset:** Responds with the moveset for a Pokémon. +* **pokedex:** Searches the Pokédex for a Pokémon. + ### Analyzers: * **age:** Responds with how old someone born in a certain year is. @@ -849,7 +854,6 @@ Total: 576 * **airhorn:** Plays an airhorn sound in a voice channel. * **dec-talk:** The world's best Text-to-Speech. -* **pokemon-cry:** Plays a Pokémon's cry. * **soundboard:** Plays a sound in a voice channel. * **vocodes:** Speak text like a variety of famous figures. diff --git a/Xiao.js b/Xiao.js index 1d085194..3a9847e6 100644 --- a/Xiao.js +++ b/Xiao.js @@ -27,6 +27,7 @@ client.registry ['auto', 'Automatic Response'], ['events', 'Events'], ['search', 'Search'], + ['pokedex', 'Pokédex'], ['analyze', 'Analyzers'], ['games-sp', 'Single-Player Games'], ['games-mp', 'Multi-Player Games'], diff --git a/commands/voice/pokemon-cry.js b/commands/pokedex/pokedex-cry.js similarity index 90% rename from commands/voice/pokemon-cry.js rename to commands/pokedex/pokedex-cry.js index 00d143b7..4f7be4ba 100644 --- a/commands/voice/pokemon-cry.js +++ b/commands/pokedex/pokedex-cry.js @@ -1,13 +1,13 @@ const Command = require('../../structures/Command'); const { reactIfAble } = require('../../util/Util'); -module.exports = class PokemonCryCommand extends Command { +module.exports = class PokedexCryCommand extends Command { constructor(client) { super(client, { - name: 'pokemon-cry', - aliases: ['pokedex-cry', 'pokémon-cry', 'pokédex-cry', 'pkmn-cry'], - group: 'voice', - memberName: 'pokemon-cry', + name: 'pokedex-cry', + aliases: ['pokemon-cry', 'pokémon-cry', 'pokédex-cry', 'pkmn-cry'], + group: 'pokedex', + memberName: 'pokedex-cry', description: 'Plays a Pokémon\'s cry.', userPermissions: ['CONNECT', 'SPEAK'], throttling: { diff --git a/commands/search/pokedex-image.js b/commands/pokedex/pokedex-image.js similarity index 98% rename from commands/search/pokedex-image.js rename to commands/pokedex/pokedex-image.js index 629bac84..8b3dabac 100644 --- a/commands/search/pokedex-image.js +++ b/commands/pokedex/pokedex-image.js @@ -15,7 +15,7 @@ module.exports = class PokedexImageCommand extends Command { 'pokédex-img', 'pkmn-img' ], - group: 'search', + group: 'pokedex', memberName: 'pokedex-image', description: 'Responds with the image of a Pokémon.', clientPermissions: ['ATTACH_FILES'], diff --git a/commands/search/pokedex-location.js b/commands/pokedex/pokedex-location.js similarity index 98% rename from commands/search/pokedex-location.js rename to commands/pokedex/pokedex-location.js index d6837ac9..a7a81623 100644 --- a/commands/search/pokedex-location.js +++ b/commands/pokedex/pokedex-location.js @@ -17,7 +17,7 @@ module.exports = class PokedexLocationCommand extends Command { 'pokédex-locate', 'pkmn-locate' ], - group: 'search', + group: 'pokedex', memberName: 'pokedex-location', description: 'Responds with the location data for a Pokémon.', clientPermissions: ['EMBED_LINKS'], diff --git a/commands/search/pokedex-moveset.js b/commands/pokedex/pokedex-moveset.js similarity index 98% rename from commands/search/pokedex-moveset.js rename to commands/pokedex/pokedex-moveset.js index 7ea4e6da..2cf09286 100644 --- a/commands/search/pokedex-moveset.js +++ b/commands/pokedex/pokedex-moveset.js @@ -21,7 +21,7 @@ module.exports = class PokedexMovesetCommand extends Command { 'pokédex-moves', 'pkmn-moves' ], - group: 'search', + group: 'pokedex', memberName: 'pokedex-moveset', description: 'Responds with the moveset for a Pokémon.', clientPermissions: ['EMBED_LINKS'], diff --git a/commands/search/pokedex.js b/commands/pokedex/pokedex.js similarity index 99% rename from commands/search/pokedex.js rename to commands/pokedex/pokedex.js index b11f33fe..f353992e 100644 --- a/commands/search/pokedex.js +++ b/commands/pokedex/pokedex.js @@ -9,7 +9,7 @@ module.exports = class PokedexCommand extends Command { super(client, { name: 'pokedex', aliases: ['pokemon', 'pokémon', 'pokédex', 'pkmn'], - group: 'search', + group: 'pokedex', memberName: 'pokedex', description: 'Searches the Pokédex for a Pokémon.', clientPermissions: ['EMBED_LINKS'], diff --git a/package.json b/package.json index 19b35fee..3a822894 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "126.3.4", + "version": "126.4.0", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {