From f6bb81d2f20859fe12100f02401edf1836ec573e Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 4 Apr 2024 01:06:01 -0400 Subject: [PATCH] Twice as fast --- commands/voice/morse.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/voice/morse.js b/commands/voice/morse.js index baccd350..c15c292b 100644 --- a/commands/voice/morse.js +++ b/commands/voice/morse.js @@ -46,20 +46,20 @@ module.exports = class MorseCommand extends Command { const letter = letters[i]; if (letter === '.') { connection.play(path.join(__dirname, '..', '..', 'assets', 'sounds', 'morse', 'dot.mp3')); - await delay(1000); + await delay(500); continue; } if (letter === '-') { connection.play(path.join(__dirname, '..', '..', 'assets', 'sounds', 'morse', 'dash.mp3')); - await delay(1000); + await delay(500); continue; } if (letter === ' ' && letters[i + 1] === ' ') { skip = true; - await delay(7000); + await delay(3500); continue; } - await delay(3000); + await delay(1500); } await reactIfAble(msg, msg.author, SUCCESS_EMOJI_ID, '✅'); return null;