Table of Contents

Method HandleZombied

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

HandleZombied(Func<DiscordClient, ZombiedEventArgs, Task>)

Fired when too many consecutive heartbeats fail and the library considers the connection zombied.

public EventHandlingBuilder HandleZombied(Func<DiscordClient, ZombiedEventArgs, Task> handler)

Parameters

handler Func<DiscordClient, ZombiedEventArgs, Task>

Returns

EventHandlingBuilder