Table of Contents

Method HandleGuildDeleted

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

HandleGuildDeleted(Func<DiscordClient, GuildDeletedEventArgs, Task>)

Fired when the user leaves or is removed from a guild. For this event to fire you need the Guilds intent.

public EventHandlingBuilder HandleGuildDeleted(Func<DiscordClient, GuildDeletedEventArgs, Task> handler)

Parameters

handler Func<DiscordClient, GuildDeletedEventArgs, Task>

Returns

EventHandlingBuilder