#How to get list of allowed intents

8 messages · Page 1 of 1 (latest)

tawny sorrel
#

Is there a djs method to get a list of all intents my bot is allowed to use?

long star
#

• 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.

junior otterBOT
#

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

tawny sorrel
#

I’m trying to get a list of the allowed privledged intents my bot has (presence, guild members and message content)

golden falcon
#

Why don’t you just read your code

tawny sorrel
#

I wanted it to console log the allowed intents when the bot launched

silent thunder
stray talon
#

Well, technically you can… by fetching the flags of an application.