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:
parent
31bfff0552
commit
7a37867214
@ -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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user