mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 15:57:54 +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];
|
const letter = letters[i];
|
||||||
if (letter === '.') {
|
if (letter === '.') {
|
||||||
connection.play(path.join(__dirname, '..', '..', 'sounds', 'morse', 'dot.wav'));
|
connection.play(path.join(__dirname, '..', '..', 'sounds', 'morse', 'dot.mp3'));
|
||||||
await delay(1000);
|
await delay(1000);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (letter === '-') {
|
if (letter === '-') {
|
||||||
connection.play(path.join(__dirname, '..', '..', 'sounds', 'morse', 'dash.wav'));
|
connection.play(path.join(__dirname, '..', '..', 'sounds', 'morse', 'dash.mp3'));
|
||||||
await delay(1000);
|
await delay(1000);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user