mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
Использование ютуб токена
This commit is contained in:
parent
1a47776ad7
commit
6c30b794cb
1 changed files with 7 additions and 0 deletions
|
@ -55,6 +55,13 @@ class Atlanta extends Client {
|
|||
};
|
||||
|
||||
this.player = new Player(this, {
|
||||
ytdlDownloadOptions: {
|
||||
requestOptions: {
|
||||
headers: {
|
||||
cookie: this.config.youtubeToken
|
||||
}
|
||||
}
|
||||
},
|
||||
leaveOnEmpty: false,
|
||||
enableLive: true
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue