From 85b5a1b26cfaf34a1cfe618702faaa3c6556b2ed Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Fri, 12 Jul 2019 09:47:28 +0300 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 15014a38..8751a0ea 100644 --- a/index.js +++ b/index.js @@ -347,7 +347,7 @@ function play(guild, song) { const dispatcher = serverQueue.connection.playStream(ytdl(song.url, { quality: `highestaudio`, filter: 'audioonly' })) .on('end', reason => { if (reason === 'Stream is not generating quickly enough.') console.log('Song ended.'); - else msg.channel.send(reason); + else console.log(reason); serverQueue.songs.shift(); play(guild, serverQueue.songs[0]); })