SudhanPlayz / Discord-MusicBot

An advanced discord music bot, supports Spotify, Soundcloud, YouTube with Shuffling, Volume Control and Web Dashboard with Slash Commands support!
https://musicbot.darrenofficial.com
Other
2.99k stars 2.9k forks source link

Unable to deploy on heroku after recent discord update #898

Closed shanuflash closed 2 years ago

shanuflash commented 2 years ago

Unable to deploy on heroku after recent discord update.

/app/node_modules/discord.js/src/client/Client.js:548
       throw new TypeError('CLIENT_MISSING_INTENTS');
       ^

TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Client.
     at DiscordMusicBot._validateOptions (/app/node_modules/discord.js/src/client/Client.js:548:13)
     at new Client (/app/node_modules/discord.js/src/client/Client.js:76:10)
     at new DiscordMusicBot (/app/structures/DiscordMusicBot.js:22:5)
     at Object.<anonymous> (/app/index.js:3:16)
     at Module._compile (node:internal/modules/cjs/loader:1105:14)
     at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
     at Module.load (node:internal/modules/cjs/loader:981:32)
     at Module._load (node:internal/modules/cjs/loader:827:12)
     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
     at node:internal/main/run_main_module:17:47 {
   [Symbol(code)]: 'CLIENT_MISSING_INTENTS'
 }
JotaroKujo0525 commented 2 years ago

Enable intents in developer portal thx

JotaroKujo0525 commented 2 years ago

My goodness

JotaroKujo0525 commented 2 years ago

Epic hyperlink fail lol