A bit longer

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