Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

Add messageContent privileged intent #23

Merged
merged 1 commit into from Sep 6, 2022

Conversation

MahdiBM
Copy link
Contributor

@MahdiBM MahdiBM commented Sep 6, 2022

This new privileged messageContent intent is now required for receiving full content of all messages.
Without this, as of September 2022, a bot will receive content of messages only in specific circumstances, such as when you @mention the bot.

For example, without this, if you just write "Hello everybody!" in a guild, a bot will still receive the event with some related info in it, but the event won't contain "Hello everybody!" anywhere in it since this intent is not enabled.

related post: https://support-dev.discord.com/hc/en-us/articles/4404772028055

This new privileged `messageContent` intent is now required for receiving all `content` of text messages.
Without this, as of September 2022, a bot will only receive content of messages only in specific circumstances, such as when you @mention the bot.

For example, without this, if you just write "Hello everybody!" in a guild, a bot will still receive the event with some related info in it, but the event won't contain "Hello everybody!" anywhere in it since this intent is not enabled.
@noahpistilli noahpistilli merged commit 7abc87f into noahpistilli:master Sep 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants