Table of Contents

Interface IStageInstanceCreateShardedGatewayHandler

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

Sent when a StageInstance is created (i.e. the Stage is now 'live'). Inner payload is a StageInstance.

public interface IStageInstanceCreateShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: Guilds
Optional Intents: None

Methods

HandleAsync(GatewayClient, StageInstance)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, StageInstance arg)

Parameters

client GatewayClient

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

arg StageInstance

The event argument.

Returns

ValueTask