From 30c004111a06886cb39695dc4295630f8d3188ee Mon Sep 17 00:00:00 2001 From: John Doe Date: Sun, 23 Sep 2018 20:04:16 +0200 Subject: [PATCH] fixed a mistake --- commands/fun/emotesay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/fun/emotesay.js b/commands/fun/emotesay.js index f06cbff..c6ef4d2 100644 --- a/commands/fun/emotesay.js +++ b/commands/fun/emotesay.js @@ -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(""))