Skip to content

Add attachment flags and fix container spoiler state#3280

Merged
Misha-133 merged 2 commits into
discord-net:devfrom
ForceFK:dev
Jul 24, 2026
Merged

Add attachment flags and fix container spoiler state#3280
Misha-133 merged 2 commits into
discord-net:devfrom
ForceFK:dev

Conversation

@ForceFK

@ForceFK ForceFK commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Description

Adds the attachment flags currently documented by Discord and fixes spoiler handling in ContainerBuilder.

Changes

  • Add IsSpoiler and IsAnimated to AttachmentFlags
  • Mark the deprecated IsRemix flag as obsolete
  • Update AttachmentExtensions.IsSpoiler() to recognize Discord’s spoiler flag
  • Fix ContainerBuilder to correctly apply the isSpoiler parameter

@Misha-133
Misha-133 merged commit d550c75 into discord-net:dev Jul 24, 2026
2 checks passed
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