Table of Contents

Interface IRoleCreateShardedGatewayHandler

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

Sent when a guild role is created.

public interface IRoleCreateShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: Guilds
Optional Intents: None

Methods

HandleAsync(GatewayClient, Role)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, Role arg)

Parameters

client GatewayClient

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

arg Role

The event argument.

Returns

ValueTask