Skip to content

Commit 113b7e6

Browse files
authored
Make allowed mentions fields optional (#7421)
1 parent 430355b commit 113b7e6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/resources/Message.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -631,12 +631,12 @@ The allowed mention field allows for more granular control over mentions without
631631

632632
###### Allowed Mentions Structure
633633

634-
| Field | Type | Description |
635-
|--------------|--------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|
636-
| parse | array of allowed mention types | An array of [allowed mention types](#DOCS_RESOURCES_MESSAGE/allowed-mentions-object-allowed-mention-types) to parse from the content. |
637-
| roles | list of snowflakes | Array of role_ids to mention (Max size of 100) |
638-
| users | list of snowflakes | Array of user_ids to mention (Max size of 100) |
639-
| replied_user | boolean | For replies, whether to mention the author of the message being replied to (default false) |
634+
| Field | Type | Description |
635+
|---------------|--------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|
636+
| parse? | array of allowed mention types | An array of [allowed mention types](#DOCS_RESOURCES_MESSAGE/allowed-mentions-object-allowed-mention-types) to parse from the content. |
637+
| roles? | list of snowflakes | Array of role_ids to mention (Max size of 100) |
638+
| users? | list of snowflakes | Array of user_ids to mention (Max size of 100) |
639+
| replied_user? | boolean | For replies, whether to mention the author of the message being replied to (default false) |
640640

641641
###### Allowed Mentions Reference
642642

0 commit comments

Comments
 (0)