From 28cf4430d799a08c8f9df4ec1ee33973157bdfdc Mon Sep 17 00:00:00 2001
From: Loic Bersier <loic.bersier1@gmail.com>
Date: Sat, 8 Dec 2018 21:10:09 +0100
Subject: [PATCH] updated tts

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

diff --git a/commands/fun/tts.js b/commands/fun/tts.js
index b97ef8da..bb7365fe 100644
--- a/commands/fun/tts.js
+++ b/commands/fun/tts.js
@@ -50,9 +50,7 @@ module.exports = class BadMemeCommand extends Command {
                 return;
               }
               console.log('Audio content written to file: tts.mp3');
+              message.say({files: ['./tts.mp3']})
             });
           });
-          setTimeout(function(){
-          message.say({files: ['./tts.mp3']})
-      }, 2000)
 }}