With Seyfert you can now control the latest Discord monetization features.
This section will show the basic creation of premium buttons, events and commands.
Entitlements
Entitlements in Discord represent that a user or guild has access to a premium offering in your application, with this you can know if a user is subscribed to your application and give him the benefits you want.
Receiving Events
Currently there are 3 events for entitlements:
entitlementCreate(entitlement: Entitlement)
Emitted whenever an entitlement is created.
entitlementDelete(entitlement: Entitlement)
Emitted whenever an entitlement is deleted. Entitlements are not deleted when they expire. This is only triggered when Discord issues a refund or deletes the entitlement manually.
entitlementUpdate(entitlement: Entitlement)
Emitted whenever an entitlement is updated - i.e. when a user’s subscription renews.