From bb5b7edbb4c0c8786252f59064b76fee267a7921 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Hor=C3=A1=C4=8Dek?= Date: Tue, 14 Apr 2020 15:13:00 +0200 Subject: [PATCH] remove blank lines --- helpers/music.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/helpers/music.js b/helpers/music.js index e5e562a..d5cbd57 100644 --- a/helpers/music.js +++ b/helpers/music.js @@ -131,9 +131,7 @@ module.exports = client => { } } } - - - + if (!video && videos[0]) { video = videos[0] } else if(!video) { @@ -155,7 +153,7 @@ module.exports = client => { const connection = await vc.join() const v = guild.queue[0] - + guild.dispatcher = connection.play(await ytdl(client.music.getLinkFromID(v.video.videoId), { highWaterMark: 1024 * 1024 * 32 }), { type: 'opus' }) guild.dispatcher.setVolume(0.25)