mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 22:55:00 +05:00
trying to fix music issues
This commit is contained in:
parent
1c17db9a5c
commit
ead82f54e4
1 changed files with 4 additions and 2 deletions
|
@ -49,10 +49,12 @@ class Atlanta extends Client {
|
||||||
|
|
||||||
this.player = new Player(this, {
|
this.player = new Player(this, {
|
||||||
ytdlDownloadOptions: {
|
ytdlDownloadOptions: {
|
||||||
filter: "audio",
|
// filter: "audio",
|
||||||
requestOptions: {
|
requestOptions: {
|
||||||
headers: {
|
headers: {
|
||||||
cookie: this.config.youtubeToken
|
cookie: this.config.youtubeToken,
|
||||||
|
quality: "highestaudio",
|
||||||
|
highWaterMark: 1 << 25
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue