mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Remove obnoxious footer from pokedex
This commit is contained in:
@@ -114,25 +114,9 @@ module.exports = class PokedexCommand extends Command {
|
||||
data.genderRate.genderless ? 'Genderless' : `♂️ ${data.genderRate.male}% ♀️ ${data.genderRate.female}%`);
|
||||
if (data.cry) {
|
||||
const connection = msg.guild ? this.client.voice.connections.get(msg.guild.id) : null;
|
||||
const moveUsage = this.client.registry.commands.get('pokedex-moveset').usage();
|
||||
const statsUsage = this.client.registry.commands.get('pokedex-stats').usage();
|
||||
const locationUsage = this.client.registry.commands.get('pokedex-location').usage();
|
||||
if (connection) {
|
||||
embed.setFooter(stripIndents`
|
||||
Use ${statsUsage} to get their stats.
|
||||
Use ${moveUsage} to get their moveset.
|
||||
Use ${locationUsage} to get their locations.
|
||||
`);
|
||||
connection.play(data.cry);
|
||||
await reactIfAble(msg, this.client.user, '🔉');
|
||||
} else {
|
||||
const usage = this.client.registry.commands.get('join').usage();
|
||||
embed.setFooter(stripIndents`
|
||||
Use ${statsUsage} to get their stats.
|
||||
Use ${moveUsage} to get their moveset.
|
||||
Use ${locationUsage} to get their locations.
|
||||
Join a voice channel and use ${usage} to hear their cry.
|
||||
`);
|
||||
}
|
||||
}
|
||||
return msg.embed(embed);
|
||||
|
||||
Reference in New Issue
Block a user