Skip to content

Conversation

@DPlayer234
Copy link
Contributor

This PR adds the flags field/setter to EditWebhookMessage and EditInteractionResponse. It also modifies EditMessage::suppress_embeds because the IS_COMPONENTS_V2 flag can also be set there now.

This allows upgrading webhook messages and interaction responses to components V2 in an edit (when merged into next also). This appears to be required when deferring interaction responses.

@github-actions github-actions bot added the builder Related to the `builder` module. label Jul 1, 2025
@arqunis arqunis added enhancement An improvement to Serenity. discord feature Related to Discord's functionality. labels Jul 4, 2025
@arqunis arqunis merged commit 5bfce60 into serenity-rs:current Jul 4, 2025
21 of 22 checks passed
@DPlayer234 DPlayer234 deleted the add-edit-webhook-flags branch July 17, 2025 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builder Related to the `builder` module. discord feature Related to Discord's functionality. enhancement An improvement to Serenity.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants