Table of Contents

Interface IEntitlementDeleteShardedGatewayHandler

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

Sent when an entitlement is deleted. Entitlements are not deleted when they expire. The inner payload is an Entitlement object.

public interface IEntitlementDeleteShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: None
Optional Intents: None

Methods

HandleAsync(GatewayClient, Entitlement)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, Entitlement arg)

Parameters

client GatewayClient

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

arg Entitlement

The event argument.

Returns

ValueTask