mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 06:28:53 +00:00
feat: changed yt cookie name in .env arguments
This commit is contained in:
1 parent
e251299c0c
commit
e3b945bcec
2 files changed
+3
-3
No files matched your search
@@ -13,7 +13,7 @@ exports.createPlayer = async (client) => {
|
||||
highWaterMark: 1 << 25,
|
||||
requestOptions: {
|
||||
headers: {
|
||||
cookie: process.env.YOUTUBE_COOKIE || ''
|
||||
cookie: process.env.YT_COOKIE || ''
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -26,7 +26,7 @@ exports.createPlayer = async (client) => {
|
||||
type: 'audio',
|
||||
quality: 'high',
|
||||
highWaterMark: 1 << 25,
|
||||
cookie: process.env.YOUTUBE_COOKIE || ''
|
||||
cookie: process.env.YT_COOKIE || ''
|
||||
})
|
||||
).stream;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user