Play Cry After Guess too in Pokemon Cry

This commit is contained in:
Dragon Fire
2020-10-30 15:17:18 -04:00
parent f5f7427cf2
commit fbf2a1d8f4
2 changed files with 2 additions and 1 deletions
@@ -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);
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "119.35.0",
"version": "119.35.1",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {