You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/resources/message.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -625,7 +625,7 @@ For the `attachments` array in Message Create/Edit requests, only the `id` is re
625
625
626
626
### Allowed Mentions Object
627
627
628
-
The allowed mention field allows for more granular control over mentions without various hacks to the message content. This will always validate against message content to avoid phantom pings (e.g. to ping everyone, you must still have `@everyone` in the message content), and check against user/bot permissions.
628
+
The allowed mention field allows for more granular control over mentions without various hacks to the message content. This will always validate against message content or [message component](docs/components/using-message-components) content to avoid phantom pings (e.g. to ping everyone, you must still have `@everyone` in the message content or message component content), and check against user/bot permissions.
629
629
630
630
###### Allowed Mention Types
631
631
@@ -648,7 +648,7 @@ The allowed mention field allows for more granular control over mentions without
648
648
649
649
Due to the complexity of possibilities, we have included a set of examples and behavior for the allowed mentions field.
650
650
651
-
If `allowed_mentions` is _not_ passed in (i.e. the key does not exist), the mentions will be parsed via the content. This corresponds with existing behavior.
651
+
If `allowed_mentions` is _not_ passed in (i.e. the key does not exist), the mentions will be parsed via the message content or message component content. This corresponds with existing behavior.
652
652
653
653
In the example below we would ping @here (and also @role124 and @user123)
654
654
@@ -711,7 +711,7 @@ Due to possible ambiguities, not all configurations are valid. An _invalid_ conf
711
711
Because `parse: ["users"]` and `users: [123, 124]` are both present, we would throw a validation error.
712
712
This is because the conditions cannot be fulfilled simultaneously (they are mutually exclusive).
713
713
714
-
Any entities with an ID included in the list of IDs can be mentioned. Note that the IDs of entities not present in the message's content will simply be ignored.
714
+
Any entities with an ID included in the list of IDs can be mentioned. Note that the IDs of entities not present in the message content or message component content will simply be ignored.
715
715
e.g. The following example is valid, and would mention user 123, but _not_ user 125 since there is no mention of
0 commit comments