Twice as fast again

This commit is contained in:
Dragon Fire
2024-04-04 01:06:53 -04:00
parent f6bb81d2f2
commit f8a7d29ff2
+4 -4
View File
@@ -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(500);
await delay(250);
continue;
}
if (letter === '-') {
connection.play(path.join(__dirname, '..', '..', 'assets', 'sounds', 'morse', 'dash.mp3'));
await delay(500);
await delay(250);
continue;
}
if (letter === ' ' && letters[i + 1] === ' ') {
skip = true;
await delay(3500);
await delay(1750);
continue;
}
await delay(1500);
await delay(750);
}
await reactIfAble(msg, msg.author, SUCCESS_EMOJI_ID, '✅');
return null;