Fix it Again

This commit is contained in:
Daniel Odendahl Jr
2017-04-12 20:46:34 +00:00
parent 007196e5d4
commit 928dbd05cc
2 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -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);
return message.say(encoded);
}
};