Table of Contents

Interface IGuildThreadDeleteShardedGatewayHandler

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

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

public interface IGuildThreadDeleteShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: Guilds
Optional Intents: None

Methods

HandleAsync(GatewayClient, GuildThreadDeleteEventArgs)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, GuildThreadDeleteEventArgs arg)

Parameters

client GatewayClient

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

arg GuildThreadDeleteEventArgs

The event argument.

Returns

ValueTask