mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-14 15:57:42 +02:00
Play Cry After Guess too in Pokemon Cry
This commit is contained in:
@@ -92,6 +92,7 @@ module.exports = class WhosThatPokemonCryCommand extends Command {
|
||||
max: 1,
|
||||
time: 15000
|
||||
});
|
||||
connection.play(Readable.from([data.cry]));
|
||||
if (!msgs.size) return msg.reply(`Time! It's **${data.name}**!`, { files: [attachment] });
|
||||
const guess = msgs.first().content.toLowerCase();
|
||||
const slug = this.client.pokemon.makeSlug(guess);
|
||||
|
||||
Reference in New Issue
Block a user