Remove obnoxious footer from pokedex

This commit is contained in:
Dragon Fire
2021-01-30 10:26:56 -05:00
parent b96ea700ba
commit c3682f5c28
-16
View File
@@ -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);