Table of Contents

Interface IRoleDeleteShardedGatewayHandler

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

Sent when a guild role is deleted.

public interface IRoleDeleteShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: Guilds
Optional Intents: None

Methods

HandleAsync(GatewayClient, RoleDeleteEventArgs)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, RoleDeleteEventArgs arg)

Parameters

client GatewayClient

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

arg RoleDeleteEventArgs

The event argument.

Returns

ValueTask