BitFieldInvalid: GUILDS

Here is the error:

I didn’t do anything different except bot permissions and secret.

Can you share the link to your Repl?

1 Like

In v14 you now use UpperCamelCase for intents, e.g. GUILDSGuilds

1 Like

Remove the comma after the array or just replace it with this

const client = new Discord.Client({intents: ["GUILDS", "GUILD_MESSAGES"]});