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
Description
When I patch a message, the allowed_mentions property is resetted/deleted if I don't send it in the body again. On the other hand, when I update only the content property, the components property doesn't change (as it should)
Steps to Reproduce
create a new message using POST /channels/{channel_id}/messages { "content": "test <@{user_id}>", "allowed_mentions": {"parse": [] }, "components": [] }
--> the user should not be mentioned
update the message using PATCH /channels/[channel_id}/messages/{message_id} { "content": "now I mention <@{user_id}>" }
--> the allowed_mentions property doesn't work anymore
this only works if the message has components!
Expected Behavior
the allowed_mentions property should still work and the user shouldn't be mentioned
Current Behavior
the allowed_mentions property is deleted
Screenshots/Videos
creating the message
updating the message
Client and System Information
Discord Canary
Windows 11 (shouldn't matter)
I enabled threads if that matters
The text was updated successfully, but these errors were encountered:
Description
When I patch a message, the
allowed_mentions
property is resetted/deleted if I don't send it in the body again. On the other hand, when I update only thecontent
property, thecomponents
property doesn't change (as it should)Steps to Reproduce
create a new message using
POST /channels/{channel_id}/messages { "content": "test <@{user_id}>", "allowed_mentions": {"parse": [] }, "components": [] }
--> the user should not be mentioned
update the message using
PATCH /channels/[channel_id}/messages/{message_id} { "content": "now I mention <@{user_id}>" }
--> the allowed_mentions property doesn't work anymore
this only works if the message has components!
Expected Behavior
the
allowed_mentions
property should still work and the user shouldn't be mentionedCurrent Behavior
the
allowed_mentions
property is deletedScreenshots/Videos
creating the message
![image](https://user-images.githubusercontent.com/74423013/124299835-2a6b0e80-db5e-11eb-848f-15a0d3898530.png)
![image](https://user-images.githubusercontent.com/74423013/124299809-22ab6a00-db5e-11eb-8b0b-e581de272644.png)
updating the message
![image](https://user-images.githubusercontent.com/74423013/124299909-41116580-db5e-11eb-8ebf-3b7255329836.png)
![image](https://user-images.githubusercontent.com/74423013/124299940-4a9acd80-db5e-11eb-9bd3-8a295c7e3381.png)
Client and System Information
Discord Canary
Windows 11 (shouldn't matter)
I enabled threads if that matters
The text was updated successfully, but these errors were encountered: