Table of Contents

Method HandleComponentInteractionCreated

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

HandleComponentInteractionCreated(Func<DiscordClient, ComponentInteractionCreatedEventArgs, Task>)

Fired when a component is interacted with.

public EventHandlingBuilder HandleComponentInteractionCreated(Func<DiscordClient, ComponentInteractionCreatedEventArgs, Task> handler)

Parameters

handler Func<DiscordClient, ComponentInteractionCreatedEventArgs, Task>

Returns

EventHandlingBuilder