fixed a mistake

Commando
John Doe 6 years ago
parent cf4a7f9840
commit 30c004111a

@ -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(""))

Loading…
Cancel
Save