mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
ifdk anymore
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -45,12 +45,12 @@ module.exports = class MorseCommand extends Command {
|
||||
}
|
||||
const letter = letters[i];
|
||||
if (letter === '.') {
|
||||
connection.play(path.join(__dirname, '..', '..', 'sounds', 'morse', 'dot.wav'));
|
||||
connection.play(path.join(__dirname, '..', '..', 'sounds', 'morse', 'dot.mp3'));
|
||||
await delay(1000);
|
||||
continue;
|
||||
}
|
||||
if (letter === '-') {
|
||||
connection.play(path.join(__dirname, '..', '..', 'sounds', 'morse', 'dash.wav'));
|
||||
connection.play(path.join(__dirname, '..', '..', 'sounds', 'morse', 'dash.mp3'));
|
||||
await delay(1000);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user