hikari.events.scheduled_events
#
Events fired for guild scheduled event related changes.
ScheduledEventCreateEvent #
Bases: ScheduledEventEvent
Event fired when a guild scheduled event is created.
event class-attribute
instance-attribute
#
event: ScheduledEvent = field()
The scheduled event that was created.
shard class-attribute
instance-attribute
#
shard: GatewayShard = field(metadata={SKIP_DEEP_COPY: True})
Shard that received this event.
ScheduledEventDeleteEvent #
Bases: ScheduledEventEvent
Event fired when a guild scheduled event is deleted.
event class-attribute
instance-attribute
#
event: ScheduledEvent = field()
The scheduled event that was deleted.
shard class-attribute
instance-attribute
#
shard: GatewayShard = field(metadata={SKIP_DEEP_COPY: True})
Shard that received this event.
ScheduledEventEvent #
Bases: ShardEvent
, ABC
Event base for any scheduled event related events.
ScheduledEventUpdateEvent #
Bases: ScheduledEventEvent
Event fired when a guild scheduled event is updated.
event class-attribute
instance-attribute
#
event: ScheduledEvent = field()
The scheduled event that was updated.
shard class-attribute
instance-attribute
#
shard: GatewayShard = field(metadata={SKIP_DEEP_COPY: True})
Shard that received this event.
ScheduledEventUserAddEvent #
Bases: ScheduledEventEvent
Event fired when a user subscribes to a guild scheduled event.
app class-attribute
instance-attribute
#
App instance for this application.
event_id class-attribute
instance-attribute
#
ID of the scheduled event that the user was added to.
guild_id class-attribute
instance-attribute
#
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.
ScheduledEventUserRemoveEvent #
Bases: ScheduledEventEvent
Event fired when a user unsubscribes from a guild scheduled event.
app class-attribute
instance-attribute
#
App instance for this application.
event_id class-attribute
instance-attribute
#
ID of the scheduled event that the user was removed from.
guild_id class-attribute
instance-attribute
#
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.