Skip to content

Fix forum CreatePostWithFileAsync with V2 components#3224

Merged
quinchs merged 1 commit into
discord-net:devfrom
Spider570:dev
Mar 4, 2026
Merged

Fix forum CreatePostWithFileAsync with V2 components#3224
quinchs merged 1 commit into
discord-net:devfrom
Spider570:dev

Conversation

@Spider570

Copy link
Copy Markdown
Contributor

Description

Fixes forum post creation with attachments when using Components V2

Changes

  • Set MessageFlags.ComponentsV2 when a non-actionrow comp is used.
  • Replaced flag validation with Preconditions.ValidateMessageFlags

@quinchs quinchs merged commit 0449e53 into discord-net:dev Mar 4, 2026
2 checks passed
kshitijanurag pushed a commit to kshitijanurag/Discord.Net that referenced this pull request Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants