forked from embee/woomy
remove blank lines
This commit is contained in:
parent
4eca40d2de
commit
bb5b7edbb4
1 changed files with 2 additions and 4 deletions
|
@ -131,9 +131,7 @@ module.exports = client => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (!video && videos[0]) {
|
if (!video && videos[0]) {
|
||||||
video = videos[0]
|
video = videos[0]
|
||||||
} else if(!video) {
|
} else if(!video) {
|
||||||
|
@ -155,7 +153,7 @@ module.exports = client => {
|
||||||
const connection = await vc.join()
|
const connection = await vc.join()
|
||||||
|
|
||||||
const v = guild.queue[0]
|
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 = connection.play(await ytdl(client.music.getLinkFromID(v.video.videoId), { highWaterMark: 1024 * 1024 * 32 }), { type: 'opus' })
|
||||||
guild.dispatcher.setVolume(0.25)
|
guild.dispatcher.setVolume(0.25)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue