From 1d54ac7386a3f9f49a09bd429d0c8563bd9904a9 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 4 Apr 2024 10:11:17 -0400 Subject: [PATCH] Slower --- commands/voice/morse.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/voice/morse.js b/commands/voice/morse.js index 1fbcbb1f..0d67f081 100644 --- a/commands/voice/morse.js +++ b/commands/voice/morse.js @@ -46,15 +46,15 @@ module.exports = class MorseCommand extends Command { continue; } const letter = letters[i]; - const timeUnit = 60; + const timeUnit = 300; if (letter === '.') { connection.play(path.join(__dirname, '..', '..', 'assets', 'sounds', 'morse', 'dot.mp3')); - await delay(timeUnit * 2); + await delay(timeUnit); continue; } if (letter === '-') { connection.play(path.join(__dirname, '..', '..', 'assets', 'sounds', 'morse', 'dash.mp3')); - await delay(timeUnit * 4); + await delay(timeUnit); continue; } if (letter === ' ' && letters[i + 1] === ' ') {