Skip to content

Conversation

shiftinv
Copy link
Member

Summary

Adds the flags parameter to Webhook.edit_message, WebhookMessage.edit, and InteractionResponse.edit_message. Only changing the suppress_embeds flag is currently supported1.

Seems like this was quietly added in discord/discord-api-docs@a7dfd25

Checklist

  • If code changes were made, then they have been tested
    • I have updated the documentation to reflect the changes
    • I have formatted the code properly by running pdm lint
    • I have type-checked the code by running pdm pyright
  • This PR fixes an issue
  • This PR adds something new (e.g. new method or parameters)
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)

Footnotes

  1. is_components_v2 is also technically supported, but part of feat: components v2 #1294

@shiftinv shiftinv added this to the disnake v2.11 milestone Aug 20, 2025
@shiftinv shiftinv added this to disnake Aug 20, 2025
@shiftinv shiftinv added t: enhancement New feature t: api support Support of Discord API features labels Aug 20, 2025
@github-project-automation github-project-automation bot moved this to Todo in disnake Aug 20, 2025
@shiftinv shiftinv merged commit e08cf82 into master Aug 22, 2025
32 of 33 checks passed
@shiftinv shiftinv deleted the feat/webhook-edit-flags branch August 22, 2025 08:41
@github-project-automation github-project-automation bot moved this from Todo to Done in disnake Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t: api support Support of Discord API features t: enhancement New feature
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant