diff --git a/commands/textedit/morse.js b/commands/textedit/morse.js index e509ebb8..83a0a299 100644 --- a/commands/textedit/morse.js +++ b/commands/textedit/morse.js @@ -59,7 +59,7 @@ module.exports = class MorseCommand extends Command { prompt: 'What text would you like to convert to morse?', type: 'string', validate: content => { - if (translator.letterTrans(content, morse).length < 1900) { + if (translator.letterTrans(content, morse, ' ').length < 1900) { return true; } return 'Your text to encode is too long.'; diff --git a/commands/textedit/temmie.js b/commands/textedit/temmie.js index a01d21b6..fad60b35 100644 --- a/commands/textedit/temmie.js +++ b/commands/textedit/temmie.js @@ -32,4 +32,4 @@ module.exports = class TemmieCommand extends Command { const temmized = translator.wordTrans(text, dictionary); return message.say(`\u180E${temmized}`); } -}; \ No newline at end of file +}; diff --git a/package.json b/package.json index 59ce1958..27649462 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "24.0.0", + "version": "24.0.1", "description": "A Discord Bot", "main": "shardingmanager.js", "repository": {