From 6c30b794cb4448bc06881b62388bd6232fd59f53 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Wed, 15 Dec 2021 21:54:54 +0500 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D1=8E=D1=82=D1=83=D0=B1?= =?UTF-8?q?=20=D1=82=D0=BE=D0=BA=D0=B5=D0=BD=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/Atlanta.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/base/Atlanta.js b/base/Atlanta.js index 38e14f28..2a42b67c 100644 --- a/base/Atlanta.js +++ b/base/Atlanta.js @@ -55,6 +55,13 @@ class Atlanta extends Client { }; this.player = new Player(this, { + ytdlDownloadOptions: { + requestOptions: { + headers: { + cookie: this.config.youtubeToken + } + } + }, leaveOnEmpty: false, enableLive: true });