Table of Contents

Interface IGuildDeleteGatewayHandler

Namespace
NetCord.Hosting.Gateway
Assembly
NetCord.Hosting.dll

Sent when a guild becomes or was already unavailable due to an outage, or when the bot leaves / is removed from a guild.

public interface IGuildDeleteGatewayHandler : IGatewayHandler

Remarks

The inner payload is an unavailable guild object. If the IsUnavailable property is false, the bot was removed from the guild.

Required Intents: Guilds
Optional Intents: None

Methods

HandleAsync(GuildDeleteEventArgs)

ValueTask HandleAsync(GuildDeleteEventArgs arg)

Parameters

arg GuildDeleteEventArgs

Returns

ValueTask