Skip to content

Commit 2f1ad9f

Browse files
add caveat for allowed mentions in interactions
1 parent 404b074 commit 2f1ad9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/resources/message.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,9 +650,9 @@ The allowed mention field allows for more granular control over mentions without
650650

651651
Due to the complexity of possibilities, we have included a set of examples and behavior for the allowed mentions field.
652652

653-
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.
653+
If the `allowed_mentions` field is not passed in the body, mentions will be parsed based on the content of the message and its components, except in interactions, where only user mentions are parsed by default. You will need to configure `allowed_mentions` in order to ping `@everyone`, `@here` or roles.
654654

655-
In the example below we would ping @here (and also @role124 and @user123)
655+
In the example below, we would ping @here (and also @role124 and @user123):
656656

657657
```json
658658
{

0 commit comments

Comments
 (0)