-
-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Modal interactions don't support Regex. #2838
Comments
Hey [ModalInteraction("example-modal-*", TreatAsRegex = true)] by default it treats the |
Great idea, did not seem to work sadly :( |
Unfortunately I can confirm this one too. A single asterisk worked when I turned on TreatAsRegex when I was testing with something akin to // customId = example-modal-1
[ModalInteraction("example-modal-*", TreatAsRegex = true)] But I need to pass through more complex information and it seems anything longer fails. |
Hold on, in regex |
Check The Docs
Verify Issue Source
Check your intents
Description
Modal interactions don't work with Regex (*)
ComponentInteraction's do work like that but modals do not.
Version
3.13.0
Working Version
No response
Logs
Sample
Packages
Discord.Interactions
Environment
Any
The text was updated successfully, but these errors were encountered: