You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw that Discord has a new Gateway and that you have to enter "intents", but I don't know which ones to enter.
Full Error
ypeError [ClientMissingIntents]: Valid intents must be provided for the Client.
at Client._validateOptions (/root/discord-backup/node_modules/discord.js/src/client/Client.js:492:13)
at new Client (/root/discord-backup/node_modules/discord.js/src/client/Client.js:78:10)
at Object.<anonymous> (/root/discord-backup/start.js:4:10)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47 {
code: 'ClientMissingIntents'
I got an error as soon as I launched the bot
I saw that Discord has a new Gateway and that you have to enter "intents", but I don't know which ones to enter.
Full Error
The specific line that I need to change:
client = new Discord.Client(),
Source: https://stackoverflow.com/questions/68694195/how-do-i-fix-client-missing-intents-error
The text was updated successfully, but these errors were encountered: