Skip to content

Modal Components v2 Single-select Typeconverters, Rest, and Patches#3209

Merged
Misha-133 merged 8 commits into
discord-net:devfrom
Cenngo:feature/modal-component-v2
Dec 23, 2025
Merged

Modal Components v2 Single-select Typeconverters, Rest, and Patches#3209
Misha-133 merged 8 commits into
discord-net:devfrom
Cenngo:feature/modal-component-v2

Conversation

@Cenngo

@Cenngo Cenngo commented Dec 17, 2025

Copy link
Copy Markdown
Collaborator

This PR adds:

  • Newly implemented modal components support to interaction framework rest modules which were missing
  • Adds typeconverters for single IUser/IRole/IChannel/IMentionable/IAttachment entities to be used in tandem with single-select and single-file file upload componentes
  • Misc fixes (eg. NRE on RespondWithModalAsync())

Breaking Changes:

  • RespondWithModal() sync extension methods for RestInteractions are renamed and made async. However, this shouldn't affect regular day-to-day usage, as it was mainly used within the RestInteractionModuleBase.RespondWithModalAsync() method, whose signature remains unchanged.

@Cenngo Cenngo marked this pull request as ready for review December 18, 2025 12:20
@Cenngo Cenngo changed the title Modal Components v2 Rest and Single-select Typeconverters Modal Components v2 Single-select Typeconverters, Rest, and Patches Dec 18, 2025
@Cenngo Cenngo requested a review from Misha-133 December 18, 2025 14:50
@Misha-133 Misha-133 merged commit 1e27c99 into discord-net:dev Dec 23, 2025
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