ScheduledEvent
- class ScheduledEvent()
A scheduled guild event for a voice channel, stage channel, or external location.
exported from
lib.weeble.dProperties
- ScheduledEvent.channelId
-
Channel ID for voice/stage events, or
nullfor external events.
- ScheduledEvent.createdAt
-
When this scheduled event was created, decoded from the event snowflake.
- ScheduledEvent.creatorId
-
ID of the user who created the event, or
null.
- ScheduledEvent.entityType
type: readonly
ScheduledEventEntityTypeType of entity the event is associated with.
- ScheduledEvent.privacyLevel
type: readonly 2
Privacy level of the event.
- ScheduledEvent.scheduledEndTime
-
When the event is scheduled to end, or
null.
- ScheduledEvent.status
type: readonly
ScheduledEventStatusCurrent status of the event.
Methods
- async ScheduledEvent.delete(reason: string) Promise<void>
Delete this event.
- Parameters:
reason — – Reason for deletion, shown in audit log.
-
async ScheduledEvent.edit(options:
ScheduledEventEditOptions) Promise<ScheduledEvent> Edit event properties.
- Parameters:
options — – Event properties to update.
- Returns:
The updated event.