Skip to content

hikari.events.scheduled_events#

Events fired for guild scheduled event related changes.

ScheduledEventCreateEvent #

Bases: ScheduledEventEvent

Event fired when a guild scheduled event is created.

app property #

app: RESTAware

App instance for this application.

event class-attribute instance-attribute #

event: ScheduledEvent = field()

The scheduled event that was created.

event_id property #

event_id: Snowflake

ID of the scheduled event.

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.

ScheduledEventDeleteEvent #

Bases: ScheduledEventEvent

Event fired when a guild scheduled event is deleted.

app property #

app: RESTAware

App instance for this application.

event class-attribute instance-attribute #

event: ScheduledEvent = field()

The scheduled event that was deleted.

event_id property #

event_id: Snowflake

ID of the scheduled event.

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.

ScheduledEventEvent #

Bases: ShardEvent, ABC

Event base for any scheduled event related events.

app abstractmethod property #

app: RESTAware

App instance for this application.

event_id abstractmethod property #

event_id: Snowflake

ID of the scheduled event.

shard abstractmethod property #

shard: GatewayShard

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.

ScheduledEventUpdateEvent #

Bases: ScheduledEventEvent

Event fired when a guild scheduled event is updated.

app property #

app: RESTAware

App instance for this application.

event class-attribute instance-attribute #

event: ScheduledEvent = field()

The scheduled event that was updated.

event_id property #

event_id: Snowflake

ID of the scheduled event.

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.

ScheduledEventUserAddEvent #

Bases: ScheduledEventEvent

Event fired when a user subscribes to a guild scheduled event.

app class-attribute instance-attribute #

app: RESTAware = field(metadata={SKIP_DEEP_COPY: True})

App instance for this application.

event_id class-attribute instance-attribute #

event_id: Snowflake = field()

ID of the scheduled event that the user was added to.

guild_id class-attribute instance-attribute #

guild_id: Snowflake = field()

ID of the guild that the scheduled event belongs to.

shard class-attribute instance-attribute #

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

Shard that received this event.

user_id class-attribute instance-attribute #

user_id: Snowflake = field()

ID of the user that was added to the scheduled 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.

ScheduledEventUserRemoveEvent #

Bases: ScheduledEventEvent

Event fired when a user unsubscribes from a guild scheduled event.

app class-attribute instance-attribute #

app: RESTAware = field(metadata={SKIP_DEEP_COPY: True})

App instance for this application.

event_id class-attribute instance-attribute #

event_id: Snowflake = field()

ID of the scheduled event that the user was removed from.

guild_id class-attribute instance-attribute #

guild_id: Snowflake = field()

ID of the guild that the scheduled event belongs to.

shard class-attribute instance-attribute #

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

Shard that received this event.

user_id class-attribute instance-attribute #

user_id: Snowflake = field()

ID of the user that was removed from the scheduled 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.