fix: clear allowedmentions on edit
This commit is contained in:
parent
1e076595d6
commit
76febc7c47
1 changed files with 3 additions and 1 deletions
|
|
@ -347,7 +347,9 @@ impl Handler {
|
||||||
.edit_message(
|
.edit_message(
|
||||||
&ctx.http,
|
&ctx.http,
|
||||||
msg_id,
|
msg_id,
|
||||||
EditWebhookMessage::new().components(components),
|
EditWebhookMessage::new()
|
||||||
|
.components(components)
|
||||||
|
.allowed_mentions(CreateAllowedMentions::new()),
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
} else if !is_remove {
|
} else if !is_remove {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue