Pokedex Command Group

This commit is contained in:
Dragon Fire
2021-01-17 00:08:08 -05:00
parent 671201f022
commit d685c1fcbc
8 changed files with 20 additions and 15 deletions
@@ -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: {
@@ -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'],
@@ -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'],
@@ -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'],
@@ -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'],