Intents

Hey there Developers, I have a question relating to intents. What are the intent names? I keep gettting them wrong, havent touched discord js in ages.
7 Replies
d.js toolkit
d.js toolkit8mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
d.js docs
d.js docs8mo ago
Suggestion for @Osinted: :dtypes: v10: GatewayIntentBits read more
NyR
NyR8mo ago
All of them are mentioned in this enum
Osintedx
OsintedxOP8mo ago
for some odd reason and it is defined. ReferenceError: GatewayIntentBits is not defined Actually, wait.
NyR
NyR8mo ago
Because you need to import it, it's an enum
Osintedx
OsintedxOP8mo ago
Ah, I see.
toasta
toasta8mo ago
i use this const { Client, GatewayIntentBits } = require('discord.js');
Want results from more Discord servers?
Add your server