Skip to content

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 = attrs.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 = attrs.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 = attrs.field(repr=True)

Interaction that this event is related to.

InteractionCreateEvent #

Bases: ShardEvent

Event fired when an interaction is created.

app property #

app: RESTAware

App instance for this application.

interaction class-attribute instance-attribute #

interaction: PartialInteraction = attrs.field(repr=True)

Interaction that this event is related to.

shard class-attribute instance-attribute #

shard: GatewayShard = attrs.field(
    metadata={attrs_extensions.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 = attrs.field(repr=True)

Interaction that this event is related to.