Table of Contents

Interface IGuildChannelDeleteShardedGatewayHandler

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

Sent when a channel relevant to the bot is deleted. The inner payload is an IGuildChannel object.

public interface IGuildChannelDeleteShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: Guilds
Optional Intents: None

Methods

HandleAsync(GatewayClient, IGuildChannel)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, IGuildChannel arg)

Parameters

client GatewayClient

The gateway client that represents the shard that received the event.

arg IGuildChannel

The event argument.

Returns

ValueTask