Table of Contents

Interface IEntitlementUpdateGatewayHandler

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 IEntitlementUpdateGatewayHandler : IGatewayHandler

Remarks


Required Intents: None
Optional Intents: None

Methods

HandleAsync(Entitlement)

Handles the gateway event.

ValueTask HandleAsync(Entitlement arg)

Parameters

arg Entitlement

The event argument.

Returns

ValueTask