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
75ce4f42bc
commit
36d4dc2c75
@ -12,7 +12,7 @@ module.exports = async function (guild, song, client, seek, play) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const dispatcher = serverQueue.connection
|
const dispatcher = serverQueue.connection
|
||||||
.play(await ytdl(song.url, { filter: "audio", highWaterMark: 1 << 25, volume: false }), { bitrate: 1024, passes: 10, volume: 1, bassboost: serverQueue.bass })
|
.play(await ytdl(song.url, { filter: "audio", highWaterMark: 1 << 25, volume: false }), { seek: seek, bitrate: 1024, passes: 10, volume: 1, bassboost: serverQueue.bass })
|
||||||
.on("end", () => {
|
.on("end", () => {
|
||||||
client.dispatcher.finish(client, serverQueue.endReason, guild);
|
client.dispatcher.finish(client, serverQueue.endReason, guild);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user