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
Remarks
Guilds will not be populated when this event is fired.
See also: HandleGuildAvailable(Func<DiscordClient, GuildAvailableEventArgs, Task>), HandleGuildDownloadCompleted(Func<DiscordClient, GuildDownloadCompletedEventArgs, Task>)
See also: HandleGuildAvailable(Func<DiscordClient, GuildAvailableEventArgs, Task>), HandleGuildDownloadCompleted(Func<DiscordClient, GuildDownloadCompletedEventArgs, Task>)