Table of Contents

Interface IGuildDeleteShardedGatewayHandler

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 IGuildDeleteShardedGatewayHandler : IShardedGatewayHandler

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(GatewayClient, GuildDeleteEventArgs)

ValueTask HandleAsync(GatewayClient client, GuildDeleteEventArgs arg)

Parameters

client GatewayClient
arg GuildDeleteEventArgs

Returns

ValueTask