Table of Contents

Interface IGuildScheduledEventUpdateShardedGatewayHandler

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

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

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