Skip to content

docs: clarify privileged intent in Identify example - #8408

Merged
colinloretz merged 2 commits into
discord:mainfrom
RlxChap2:docs/clarify-privileged-intent
Jun 16, 2026
Merged

docs: clarify privileged intent in Identify example#8408
colinloretz merged 2 commits into
discord:mainfrom
RlxChap2:docs/clarify-privileged-intent

Conversation

@RlxChap2

@RlxChap2 RlxChap2 commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Closes #6052

Summary

Clarifies that the Identify example includes the GUILD_MEMBERS privileged intent which must be enabled in the Developer Portal before identifying also updates the example comment from GUILD_BANS to GUILD_MODERATION to match the current intent name for 1 << 2.

Testing

  • npm run test:build
  • npm run test:tables

@RlxChap2
RlxChap2 requested a review from a team as a code owner June 14, 2026 07:55
@RlxChap2
RlxChap2 requested review from meka-ddev and removed request for a team June 14, 2026 07:55
@colinloretz

Copy link
Copy Markdown
Contributor

Thanks @RlxChap2, it might make more sense for us to just not use GUILD_MEMBERS in the example. I'm happy to put up a different PR or I can approve this one if you want to update to just include GUILDS and GUILD_MODERATION which would be "intents" : 5

@RlxChap2

Copy link
Copy Markdown
Contributor Author

Thanks @RlxChap2, it might make more sense for us to just not use GUILD_MEMBERS in the example. I'm happy to put up a different PR or I can approve this one if you want to update to just include GUILDS and GUILD_MODERATION which would be "intents" : 5

that makes sense. I’ll update the Identify example to only include GUILDS and GUILD_MODERATION with "intents": 5 and remove the GUILD_MEMBERS privileged intent note

@colinloretz
colinloretz self-requested a review June 16, 2026 17:24

@colinloretz colinloretz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @RlxChap2

@colinloretz
colinloretz merged commit ba52ca4 into discord:main Jun 16, 2026
3 checks passed
xavier-archlinux-tw pushed a commit to xavier-archlinux-tw/discord-api-docs that referenced this pull request Jul 14, 2026
* docs: clarify privileged intent in Identify example

* docs: remove GUILD_MEMBERS from Identify example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Example for the raw Identify command includes intents field example that can be confusing.

2 participants