Table of Contents

Interface IGuildScheduledEventCreateShardedGatewayHandler

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

Sent when a guild scheduled event is created. The inner payload is a GuildScheduledEvent object.

public interface IGuildScheduledEventCreateShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: GuildScheduledEvents
Optional Intents: None

Methods

HandleAsync(GatewayClient, GuildScheduledEvent)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, GuildScheduledEvent arg)

Parameters

client GatewayClient

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

arg GuildScheduledEvent

The event argument.

Returns

ValueTask