Table of Contents

Method HandleContextMenuInteractionCreated

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

HandleContextMenuInteractionCreated(Func<DiscordClient, ContextMenuInteractionCreatedEventArgs, Task>)

Fired when a user uses a context menu.

public EventHandlingBuilder HandleContextMenuInteractionCreated(Func<DiscordClient, ContextMenuInteractionCreatedEventArgs, Task> handler)

Parameters

handler Func<DiscordClient, ContextMenuInteractionCreatedEventArgs, Task>

Returns

EventHandlingBuilder