Represents a scheduled event in a Guild.
Extends
BaseName | Constraints | Optional | Default | Description |
---|---|---|---|---|
S | GuildScheduledEventStatus | Yes | GuildScheduledEventStatus | None |
The time the guild scheduled event will end at, or
null
if the event does not have a scheduled time to endThe timestamp the guild scheduled event will end at or
null
if the event does not have a scheduled time to endThe time the guild scheduled event will start at This can be potentially
null
only when it's an The URL of this scheduled event's cover image
Returns
Name | Type | Optional | Description |
---|---|---|---|
options | Readonly<BaseImageURLOptions> | Yes | Options for image URL |
Creates an invite URL to this guild scheduled event.
Name | Type | Optional | Description |
---|---|---|---|
options | GuildScheduledEventInviteURLCreateOptions | Yes | The options to create the invite |
Deletes this guild scheduled event.
Edits this guild scheduled event.
Name | Type | Optional | Description |
---|---|---|---|
options | GuildScheduledEventEditOptions<S, T> | No | The options to edit the guild scheduled event |
Fetches this guild scheduled event.
Name | Type | Optional | Description |
---|---|---|---|
force | boolean | Yes | Whether to skip the cache check and request the API |
Fetches subscribers of this guild scheduled event.
Name | Type | Optional | Description |
---|---|---|---|
options | T | Yes | Options for fetching the subscribers |
Indicates whether this guild scheduled event has an status.
Indicates whether this guild scheduled event has a status.
Indicates whether this guild scheduled event has a status.
Indicates whether this guild scheduled event has a status.
Sets the new description of the guild scheduled event.
Name | Type | Optional | Description |
---|---|---|---|
description | string | No | The description of the guild scheduled event |
reason | string | Yes | The reason for changing the description |
Sets the new location of the guild scheduled event.
Name | Type | Optional | Description |
---|---|---|---|
location | string | No | The location of the guild scheduled event |
reason | string | Yes | The reason for changing the location |
Sets a new name for the guild scheduled event.
Name | Type | Optional | Description |
---|---|---|---|
name | string | No | The new name of the guild scheduled event |
reason | string | Yes | The reason for changing the name |
Sets a new time to end the event at.
Name | Type | Optional | Description |
---|---|---|---|
scheduledEndTime | DateResolvable | No | The time to end the event at |
reason | string | Yes | The reason for changing the scheduled end time |
Sets a new time to schedule the event at.
Name | Type | Optional | Description |
---|---|---|---|
scheduledStartTime | DateResolvable | No | The time to schedule the event at |
reason | string | Yes | The reason for changing the scheduled start time |
Sets the new status of the guild scheduled event. If you're working with TypeScript, use this method in conjunction with status type-guards like isScheduled to get only valid status as suggestion
Name | Type | Optional | Description |
---|---|---|---|
status | T | No | The status of the guild scheduled event |
reason | string | Yes | The reason for changing the status |
Name | Type | Optional | Description |
---|---|---|---|
...props | Record<string, boolean | string>[] | No | None |
When concatenated with a string, this automatically concatenates the event's URL instead of the object.