Skip to content

Conversation

@Lulalaby
Copy link
Member

No description provided.

Lulalaby and others added 30 commits April 3, 2025 07:19
Renamed some flags in ApplicationFlags and UserFlags
This will still fail rn
This is based on whether the user has nitro, and which level.
as example it'll be:
524288000 bytes = 500 MB (normal nitro)
10485760 bytes = 10 MB (non nitro)

Fixes DISCATSHARP-2F1
Fixes #678
The Experimental attribute was removed from HasMessageReference and HasMessageSnapshots properties in DiscordMessage, indicating these features are now considered stable or no longer experimental.
Eliminated the [DiscordInExperiment] and [Experimental] attributes from DiscordForwardedMessage and DiscordMessageSnapshot classes, indicating these entities are no longer marked as experimental.
Changed GuildId from internal to public with JsonProperty attribute in DiscordThreadChannelMember. Updated thread member update event to only set GuildId if it is zero, ensuring correct assignment and serialization.
Inserted a TODO comment referencing a specific Discord channel message to investigate an issue with CreatePaginatedModalResponseAsync. No functional code changes were made.
Updated InteractivityExtension to properly handle messages with ComponentsV2 (container components) when checking for buttons and select components. Adjusted component traversal logic and error messages to support both legacy and v2 component structures. Also added missing using directive and registered DiscordContainerComponent in the component JSON converter.
Introduces AddTextDisplayComponent and AddTextDisplayComponents methods to DiscordInteractionModalBuilder, allowing the addition of text display components to modals. This enhances the flexibility of modal construction by supporting new component types.
Updated XML documentation to consistently refer to 'text input component' instead of 'text component', clarified parameter descriptions and limits, and made the Value and defaultValue parameters nullable. Also improved default handling for MaxLength based on style.
The 'Components V2' entry was removed from the table of contents in the documentation as it was either unused or no longer relevant.
@Lulalaby Lulalaby closed this Sep 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants