Table of Contents

Method HandleSocketOpened

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

HandleSocketOpened(Func<DiscordClient, SocketOpenedEventArgs, Task>)

Fired whenever the underlying websocket connection is established.

public EventHandlingBuilder HandleSocketOpened(Func<DiscordClient, SocketOpenedEventArgs, Task> handler)

Parameters

handler Func<DiscordClient, SocketOpenedEventArgs, Task>

Returns

EventHandlingBuilder