Table of Contents

Interface IGuildThreadCreateShardedGatewayHandler

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

Sent when a thread is created, relevant to the bot, or when the current user is added to a thread. The inner payload is an IGuildChannel object.

public interface IGuildThreadCreateShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: Guilds
Optional Intents: None

Methods

HandleAsync(GatewayClient, GuildThreadCreateEventArgs)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, GuildThreadCreateEventArgs arg)

Parameters

client GatewayClient

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

arg GuildThreadCreateEventArgs

The event argument.

Returns

ValueTask