You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I double checked the docs and couldn't find any useful information.
Verify Issue Source
I verified the issue was caused by Discord.Net.
Check your intents
I double checked that I have the required 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
N/A
Sample
public class BotInteraction<TInteraction> : InteractionModuleBase<SocketInteractionContext<TInteraction>> where TInteraction : SocketInteraction
{
}
public class ModalCommands : BotInteraction<SocketModal>
{
[ModalInteraction("example-modal-*")]
public async Task exampleModalInteraction(GiveawayInfoModal modal)
{
await Context.Channel.SendMessageAsync("Oh this works now? Let ImNo know.");
}
}
Packages
Discord.Interactions
Environment
Any
The text was updated successfully, but these errors were encountered:
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: