diff --git a/commands/fun/ttsvc.js b/commands/fun/ttsvc.js index d3ef168b..32350d31 100644 --- a/commands/fun/ttsvc.js +++ b/commands/fun/ttsvc.js @@ -65,11 +65,6 @@ module.exports = class ttsvcCommand extends Command { } else voiceChannel.join().then(connection => { const dispatcher = connection.playStream('./tts.mp3'); - // End at then end of the audio stream - dispatcher.on('end', () => setTimeout(function(){ - voiceChannel.leave(); - }, 2000)); - }); }); }); -}} \ No newline at end of file +})}} \ No newline at end of file