hikari.events.monetization_events#
Events fired for monetization related changes.
EntitlementCreateEvent #
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 instance for this application.
entitlement class-attribute instance-attribute #
entitlement: Entitlement = attrs.field()
The entitlement that changed.
shard class-attribute instance-attribute #
shard: GatewayShard = attrs.field(
metadata={attrs_extensions.SKIP_DEEP_COPY: True}
)
Shard that received this event.