Table of Contents

Interface IEntitlementUpdateShardedGatewayHandler

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

Sent when an entitlement is updated. When an entitlement for a subscription is renewed, the EndsAt field may have an updated value with the new expiration date. The inner payload is an Entitlement object.

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