From 72b8425ea4cfcf2431e68e7ad5b295694a8be292 Mon Sep 17 00:00:00 2001
From: loicbersier <loic.bersier1@gmail.com>
Date: Fri, 5 Oct 2018 11:37:05 +0200
Subject: [PATCH] fixed emotesay

---
 commands/fun/emotesay.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/commands/fun/emotesay.js b/commands/fun/emotesay.js
index efaf54da..b93ed93d 100644
--- a/commands/fun/emotesay.js
+++ b/commands/fun/emotesay.js
@@ -19,10 +19,9 @@ module.exports = class emoteSayCommand extends Command {
 
     async run(message, { text }) {
         message.delete();
-        text.toLowerCase().split('')
         let emojiArray = [];
         for (let i = 0; i < text.length; i++)
-            emojiArray[i] = emojiCharacters[text[i]];
+            emojiArray[i] = emojiCharacters[text.toLowerCase().split('')[i]];
         message.say(emojiArray.join(""))