Table of Contents

Method HandleInteractionCreated

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

HandleInteractionCreated(Func<DiscordClient, InteractionCreatedEventArgs, Task>)

Fired when any interaction is invoked.

public EventHandlingBuilder HandleInteractionCreated(Func<DiscordClient, InteractionCreatedEventArgs, Task> handler)

Parameters

handler Func<DiscordClient, InteractionCreatedEventArgs, Task>

Returns

EventHandlingBuilder