Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs: add notes about MESSAGE_CONTENT intent in affected data fields #556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 10, 2022

Conversation

Mateo-tem
Copy link
Contributor

Please describe the changes this PR makes and why it should be merged:

Adds notes about the MESSAGE_CONTENT intent, which will be privileged for verified apps after August 31, 2022.
There are affected fields in APIMessage, which are content, embeds, attachments, and components.

If applicable, please reference Discord API Docs PRs or commits that influenced this PR:

@vercel
Copy link

vercel bot commented Aug 6, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
discord-api-types ✅ Ready (Inspect) Visit Preview Aug 10, 2022 at 3:08AM (UTC)

Copy link
Member

@Jiralite Jiralite left a comment

Choose a reason for hiding this comment

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

For API version 10, this is already in effect, so is there a need to specify the date? I do not think so?

Copy link
Member

@Jiralite Jiralite left a comment

Choose a reason for hiding this comment

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

  • MESSAGE_CONTENT (1 << 15) will be a privileged intent for verified apps,
  • this intent is required to receive a non-empty value from this field

I honestly think this doesn't flow smoothly and still doesn't quite make sense for version 10. For version 10, this is already in effect. This isn't a will be, it already is.

For version 10, I would recommend something like this:

The MESSAGE_CONTENT (1 << 15) privileged gateway intent is required for verified applications to receive a non-empty value from this field

For versions before this, I recommend something like this:

The MESSAGE_CONTENT (1 << 15) privileged gateway intent will become required [date here] for verified applications to receive a non-empty value from this field

@vladfrangu vladfrangu changed the title feat(docs): add notes about MESSAGE_CONTENT intent in affected data fields docs: add notes about MESSAGE_CONTENT intent in affected data fields Aug 10, 2022
@vladfrangu vladfrangu merged commit 4732f1a into discordjs:main Aug 10, 2022
@Mateo-tem Mateo-tem deleted the feat/note-msg-content branch August 10, 2022 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants