Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

Suiram1701
Copy link
Contributor

@Suiram1701 Suiram1701 commented Apr 5, 2025

Description

It is not realy possible to use RespondWithModalAsync with provided modal value due to problems with the property access and unfavorable string conversion (in my case with DateTime).

The changes allow it to use value types and search first after a ToString override before casting.

Changes

Related Issues

N/A

@Misha-133 Misha-133 requested a review from Cenngo April 10, 2025 20:24
@Suiram1701 Suiram1701 requested a review from Cenngo April 12, 2025 12:29
@Suiram1701
Copy link
Contributor Author

@Misha-133 Could you merge this PR if its alright or do wait for something?

@Misha-133 Misha-133 merged commit a8523c5 into discord-net:dev Apr 26, 2025
2 checks passed
@Suiram1701 Suiram1701 deleted the fix/modals branch April 26, 2025 19:41
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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.