Skip to content

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: Optional[OwnUser] = field()

The old application user.

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

shard class-attribute instance-attribute #

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

Shard that received this event.

user class-attribute instance-attribute #

user: OwnUser = field()

This application user.

bitmask classmethod #

bitmask() -> int

Bitmask for this event.

dispatches classmethod #

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

Sequence of the event classes this event is dispatched as.