Table of Contents

Method HandleSessionCreated

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

HandleSessionCreated(Func<DiscordClient, SessionCreatedEventArgs, Task>)

Fired when this client has successfully completed its handshake with the websocket gateway.

public EventHandlingBuilder HandleSessionCreated(Func<DiscordClient, SessionCreatedEventArgs, Task> handler)

Parameters

handler Func<DiscordClient, SessionCreatedEventArgs, Task>

Returns

EventHandlingBuilder

Remarks