Add footer message

This commit is contained in:
Dragon Fire
2020-10-30 12:32:18 -04:00
parent 5daacf8f16
commit 1a5fb80724
+2
View File
@@ -78,6 +78,8 @@ module.exports = class PokedexCommand extends Command {
connection.play(Readable.from([data.cry])); connection.play(Readable.from([data.cry]));
await reactIfAble(msg, this.client.user, '🔉'); await reactIfAble(msg, this.client.user, '🔉');
} }
} else {
embed.setFooter('Join a voice channel to hear the Pokémon\'s cry.');
} }
return msg.embed(embed); return msg.embed(embed);
} catch (err) { } catch (err) {