From 30c004111a06886cb39695dc4295630f8d3188ee Mon Sep 17 00:00:00 2001
From: John Doe <loic.bersier1@gmail.com>
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 f06cbffd..c6ef4d2a 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(""))