Skip to content

hikari.events.monetization_events#

Events fired for monetization related changes.

EntitlementCreateEvent #

Bases: EntitlementEvent

Event fired when an entitlement is created.

EntitlementDeleteEvent #

Bases: EntitlementEvent

Event fired when an entitlement is deleted.

Entitlements are not deleted when they expire, so this event is only fired when a refund is issued by Discord or Discord removes the entitlement from a user via internal tooling.

EntitlementEvent #

Bases: ShardEvent

Base class related to entitlement change events.

app class-attribute instance-attribute #

app: RESTAware = field(metadata={SKIP_DEEP_COPY: True})

App instance for this application.

entitlement class-attribute instance-attribute #

entitlement: Entitlement = field()

The entitlement that changed.

shard class-attribute instance-attribute #

shard: GatewayShard = field(metadata={SKIP_DEEP_COPY: True})

Shard that received this event.

EntitlementUpdateEvent #

Bases: EntitlementEvent

Event fired when an entitlement is updated.