hikari.events.stage_events
#
Events that fire when stage instances are created/updated/deleted.
StageInstanceCreateEvent #
Bases: StageInstanceEvent
Event fired when a stage instance is created.
shard class-attribute
instance-attribute
#
shard: GatewayShard = field(metadata={SKIP_DEEP_COPY: True})
Shard that received this event.
stage_instance class-attribute
instance-attribute
#
stage_instance: StageInstance = field()
The stage instance that was created.
StageInstanceDeleteEvent #
Bases: StageInstanceEvent
Event fired when a stage instance is deleted.
shard class-attribute
instance-attribute
#
shard: GatewayShard = field(metadata={SKIP_DEEP_COPY: True})
Shard that received this event.
stage_instance class-attribute
instance-attribute
#
stage_instance: StageInstance = field()
The stage instance that was deleted.
StageInstanceEvent #
Bases: ShardEvent
, ABC
Event base for any event that involves stage instances.
stage_instance abstractmethod
property
#
stage_instance: StageInstance
Stage instance that this event relates to.
StageInstanceUpdateEvent #
Bases: StageInstanceEvent
Event fired when a stage instance is updated.
shard class-attribute
instance-attribute
#
shard: GatewayShard = field(metadata={SKIP_DEEP_COPY: True})
Shard that received this event.
stage_instance class-attribute
instance-attribute
#
stage_instance: StageInstance = field()
The stage instance that was updated.