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