fixed a mistake

This commit is contained in:
John Doe 2018-09-23 20:04:16 +02:00
parent cf4a7f9840
commit 30c004111a

View file

@ -22,7 +22,7 @@ module.exports = class emoteSayCommand extends Command {
text.toLowerCase().split('')
let emojiArray = [];
for (let i = 0; i < text.length; i++) {
emojiArray[i] = emojiCharacters[textChar[i]];
emojiArray[i] = emojiCharacters[text[i]];
}
message.say(emojiArray.join(""))