Skip to content

hikari.events.interaction_events#

Events fired for interaction related changes.

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 = 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.

bitmask classmethod #

bitmask() -> int

Bitmask for this event.

dispatches classmethod #

dispatches() -> Sequence[Type[Event]]

Sequence of the event classes this event is dispatched as.