mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 14:18:36 +02:00
Fix
This commit is contained in:
@@ -48,7 +48,7 @@ module.exports = class MorseCommand extends Command {
|
|||||||
}
|
}
|
||||||
if (!connection.canPlay) return msg.reply('I am already playing audio in this server.');
|
if (!connection.canPlay) return msg.reply('I am already playing audio in this server.');
|
||||||
await reactIfAble(msg, this.client.user, LOADING_EMOJI_ID, '💬');
|
await reactIfAble(msg, this.client.user, LOADING_EMOJI_ID, '💬');
|
||||||
await msg.say(parsed);
|
await msg.reply(parsed);
|
||||||
connection.play(Readable.from([this.morse(translated)]));
|
connection.play(Readable.from([this.morse(translated)]));
|
||||||
await reactIfAble(msg, this.client.user, '🔉');
|
await reactIfAble(msg, this.client.user, '🔉');
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user