This commit is contained in:
Dragon Fire
2024-04-04 23:41:59 -04:00
parent 9b17848260
commit e1516d2cf2
+1 -1
View File
@@ -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;