Table of Contents

Method HandleGuildUnavailable

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

HandleGuildUnavailable(Func<DiscordClient, GuildUnavailableEventArgs, Task>)

Fired when a guild becomes unavailable. For this event to fire you need the Guilds intent.

public EventHandlingBuilder HandleGuildUnavailable(Func<DiscordClient, GuildUnavailableEventArgs, Task> handler)

Parameters

handler Func<DiscordClient, GuildUnavailableEventArgs, Task>

Returns

EventHandlingBuilder