mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 21:40:51 +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,
|
max: 1,
|
||||||
time: 15000
|
time: 15000
|
||||||
});
|
});
|
||||||
|
connection.play(Readable.from([data.cry]));
|
||||||
if (!msgs.size) return msg.reply(`Time! It's **${data.name}**!`, { files: [attachment] });
|
if (!msgs.size) return msg.reply(`Time! It's **${data.name}**!`, { files: [attachment] });
|
||||||
const guess = msgs.first().content.toLowerCase();
|
const guess = msgs.first().content.toLowerCase();
|
||||||
const slug = this.client.pokemon.makeSlug(guess);
|
const slug = this.client.pokemon.makeSlug(guess);
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "119.35.0",
|
"version": "119.35.1",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user