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
+9 -5
View File
@@ -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.
+1
View File
@@ -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'],
@@ -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'],
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "126.3.4",
"version": "126.4.0",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {