We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f36401e commit dfbc942Copy full SHA for dfbc942
1 file changed
index.js
@@ -18,7 +18,7 @@ client.cooldowns = {};
18
19
// Create DisTube instance
20
client.distube = new DisTube(client, {
21
- plugins: [new YouTubePlugin()],
+ plugins: [new YouTubePlugin({ cookies: JSON.parse(fs.readFileSync("./admin/ytCookies.json")) })],
22
nsfw: config.DISTUBE_NSFW,
23
savePreviousSongs: config.DISTUBE_SAVE_PREVIOUS_SONGS,
24
customFilters: config.DISTUBE_CUSTOM_FILTERS
0 commit comments