Table of Contents

Interface IGuildChannelCreateShardedGatewayHandler

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

Sent when a new guild channel is created, relevant to the bot. The inner payload is an IGuildChannel object.

public interface IGuildChannelCreateShardedGatewayHandler : 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