#Not launching

25 messages · Page 1 of 1 (latest)

ivory wolf
#

Hey i was wondering why i cant activate my bot

small pike
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

ivory wolf
#

Pls ping me ^^

#

v18.15.0

violet cobaltBOT
#

• Websocket intents limit events and decrease memory usage: learn more
• See what intents you need here

ivory wolf
#

still not working

#

@final thicket

final thicket
#

elaborate

ivory wolf
#

this is the error

final thicket
#

So define it

#

import it from djs

ivory wolf
#

oh ok sorry

#

how do i do taht sorry ?

#

im like new to djs and js

abstract stump
#

const { Client, GatewayIntentBits, Intents } = require('discord.js')

ivory wolf
#

and i wanted to start by a bot to get a cool project

#

thx ^^

#

know i get that

final thicket
#

Why is GatewayIntentBits at the top of the array

ivory wolf
#

missed copy paste

#

i still get this after deleting it

violet cobaltBOT
#

Error [DisallowedIntents]: Privileged intent provided is not enabled or whitelisted.

If you are using the GuildMembers, GuildPresences, or MessageContent intents, you need to enable them in the developer portal:
Developer Portal > Your app > Bot > Privileged Gateway Intents

abstract stump
#

Looks like when you set up your bot you didn't set the full intent on the website, you can use the permissions builder to fix it