diff --git a/commands/textedit/morse.js b/commands/textedit/morse.js index a57a9921..2e387989 100644 --- a/commands/textedit/morse.js +++ b/commands/textedit/morse.js @@ -74,7 +74,7 @@ module.exports = class MorseCommand extends Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } const text = args.text.toLowerCase(); - const encoded = translator.letterTrans(text, morse).split('').join(' '); + const encoded = translator.letterTrans(text, morse).split(' ').join(''); return message.say(encoded); } };