Table of Contents

Interface ISubscriptionCreateGatewayHandler

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

Sent when a Subscription for a Premium App is created. Inner payload is a Subscription object.

public interface ISubscriptionCreateGatewayHandler : IGatewayHandler

Remarks

Status can be either Inactive or Inactive when this event is received. You will receive subsequent SubscriptionUpdate events if the status is updated to active. As a best practice, you should not grant any perks to users until the entitlements are created.
Required Intents: None
Optional Intents: None

Methods

HandleAsync(Subscription)

ValueTask HandleAsync(Subscription arg)

Parameters

arg Subscription

Returns

ValueTask