Skip to content
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

Document @silent messages #5894

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
23 changes: 12 additions & 11 deletions docs/resources/Channel.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,17 +359,18 @@ Represents a message sent in a channel within Discord.

###### Message Flags

| Flag | Value | Description |
| -------------------------------------- | ------ | --------------------------------------------------------------------------------- |
| CROSSPOSTED | 1 << 0 | this message has been published to subscribed channels (via Channel Following) |
| IS_CROSSPOST | 1 << 1 | this message originated from a message in another channel (via Channel Following) |
| SUPPRESS_EMBEDS | 1 << 2 | do not include any embeds when serializing this message |
| SOURCE_MESSAGE_DELETED | 1 << 3 | the source message for this crosspost has been deleted (via Channel Following) |
| URGENT | 1 << 4 | this message came from the urgent message system |
| HAS_THREAD | 1 << 5 | this message has an associated thread, with the same id as the message |
| EPHEMERAL | 1 << 6 | this message is only visible to the user who invoked the Interaction |
| LOADING | 1 << 7 | this message is an Interaction Response and the bot is "thinking" |
| FAILED_TO_MENTION_SOME_ROLES_IN_THREAD | 1 << 8 | this message failed to mention some roles and add their members to the thread |
| Flag | Value | Description |
| -------------------------------------- | ------ | ------------------------------------------------------------------------------------------- |
| CROSSPOSTED | 1 << 0 | this message has been published to subscribed channels (via Channel Following) |
| IS_CROSSPOST | 1 << 1 | this message originated from a message in another channel (via Channel Following) |
| SUPPRESS_EMBEDS | 1 << 2 | do not include any embeds when serializing this message |
| SOURCE_MESSAGE_DELETED | 1 << 3 | the source message for this crosspost has been deleted (via Channel Following) |
| URGENT | 1 << 4 | this message came from the urgent message system |
| HAS_THREAD | 1 << 5 | this message has an associated thread, with the same id as the message |
| EPHEMERAL | 1 << 6 | this message is only visible to the user who invoked the Interaction |
| LOADING | 1 << 7 | this message is an Interaction Response and the bot is "thinking" |
| FAILED_TO_MENTION_SOME_ROLES_IN_THREAD | 1 << 8 | this message failed to mention some roles and add their members to the thread |
| SUPPRESS_NOTIFICATIONS | 1 << 12 | this message is an @silent message and will not send any notifications to users it mentions |

###### Example Message

Expand Down