mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 22:34:46 +02:00
Fix
This commit is contained in:
@@ -88,6 +88,6 @@ module.exports = class MorseCommand extends Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
processScript(str) {
|
processScript(str) {
|
||||||
return str.replace(/[^a-z]/gi, ' ').trim();
|
return str.replace(/[^.-]/gi, ' ').trim();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user