mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 22:14:34 +02:00
Add footer message
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user