Skip to content

hikari.events.user_events#

Events fired when the account user is updated.

OwnUserUpdateEvent #

Bases: ShardEvent

Event fired when the account user is updated.

app property #

app: RESTAware

App instance for this application.

old_user class-attribute instance-attribute #

old_user: OwnUser | None = attrs.field()

The old application user.

This will be None if the user missing from the cache.

shard class-attribute instance-attribute #

shard: GatewayShard = attrs.field(
    metadata={attrs_extensions.SKIP_DEEP_COPY: True}
)

Shard that received this event.

user class-attribute instance-attribute #

user: OwnUser = attrs.field()

This application user.