1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 05:10:17 +00:00

Update play.js

This commit is contained in:
MatteZ02 2020-02-24 20:10:55 +02:00
parent 31bfff0552
commit 7a37867214

View File

@ -13,7 +13,7 @@ module.exports = async function (guild, song, client, seek, play) {
}
const dispatcher = serverQueue.connection
.play(ytdl(song.url), { filter: "audio", highWaterMark: 1 << 25, volume: false, seek: seek, bitrate: 1024, passes: 10, bassboost: client.global.db.guilds[guild.id].bass })
.play(await ytdl(song.url, { filter: "audio", highWaterMark: 1 << 25, volume: false }), { seek: seek, bitrate: 1024, passes: 10, volume: 1 })
.on("finish", reason => {
client.dispatcher.finish(client, reason, guild);
});