Table of Contents

Method HandleModalSubmitted

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

HandleModalSubmitted(Func<DiscordClient, ModalSubmittedEventArgs, Task>)

Fired when a modal is submitted. If a modal is closed, this event is not fired.

public EventHandlingBuilder HandleModalSubmitted(Func<DiscordClient, ModalSubmittedEventArgs, Task> handler)

Parameters

handler Func<DiscordClient, ModalSubmittedEventArgs, Task>

Returns

EventHandlingBuilder