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 toolkit9mo 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 docs9mo ago
Suggestion for @Osinted: :dtypes: v10: GatewayIntentBits read more
NyR
NyR9mo ago
All of them are mentioned in this enum
Osintedx
OsintedxOP9mo ago
for some odd reason and it is defined. ReferenceError: GatewayIntentBits is not defined Actually, wait.
NyR
NyR9mo ago
Because you need to import it, it's an enum
Osintedx
OsintedxOP9mo ago
Ah, I see.
🎄toasta 🎄
🎄toasta 🎄9mo ago
i use this const { Client, GatewayIntentBits } = require('discord.js');
Want results from more Discord servers?
Add your server