hikari.events.interaction_events
#
Events fired for interaction related changes.
AutocompleteInteractionCreateEvent #
Bases: InteractionCreateEvent
Event fired when an autocomplete interaction is created.
interaction class-attribute
instance-attribute
#
interaction: AutocompleteInteraction = field(repr=True)
Interaction that this event is related to.
CommandInteractionCreateEvent #
Bases: InteractionCreateEvent
Event fired when a command interaction is created.
interaction class-attribute
instance-attribute
#
interaction: CommandInteraction = field(repr=True)
Interaction that this event is related to.
ComponentInteractionCreateEvent #
Bases: InteractionCreateEvent
Event fired when a component interaction is created.
interaction class-attribute
instance-attribute
#
interaction: ComponentInteraction = field(repr=True)
Interaction that this event is related to.
InteractionCreateEvent #
Bases: ShardEvent
Event fired when an interaction is created.
interaction class-attribute
instance-attribute
#
interaction: PartialInteraction = field(repr=True)
Interaction that this event is related to.
shard class-attribute
instance-attribute
#
shard: GatewayShard = field(metadata={SKIP_DEEP_COPY: True})
Shard that received this event.
ModalInteractionCreateEvent #
Bases: InteractionCreateEvent
Event fired when a modal interaction is created.
interaction class-attribute
instance-attribute
#
interaction: ModalInteraction = field(repr=True)
Interaction that this event is related to.