Manages API methods for GuildScheduledEvents and stores their cache.
The cache of items for this manager.
Inherited from DataManagerThe client that instantiated this Manager
Inherited from BaseManagerThe data structure belonging to this manager.
Inherited from DataManagerCreates a new guild scheduled event.
Name | Type | Optional | Description |
---|---|---|---|
options | GuildScheduledEventCreateOptions | No | Options for creating the guild scheduled event |
Deletes a guild scheduled event.
Name | Type | Optional | Description |
---|---|---|---|
guildScheduledEvent | GuildScheduledEventResolvable | No | The guild scheduled event to delete |
Edits a guild scheduled event.
Name | Type | Optional | Description |
---|---|---|---|
guildScheduledEvent | GuildScheduledEventResolvable | No | The guild scheduled event to edit |
options | GuildScheduledEventEditOptions<Status, AcceptableStatus> | No | Options to edit the guild scheduled event |
Obtains one or more guild scheduled events from Discord, or the guild cache if it's already available.
fetchSubscribers(guildScheduledEvent, options?):Promise<GuildScheduledEventManagerFetchSubscribersResult<Options>>
Fetches subscribers of a guild scheduled event.
Name | Type | Optional | Description |
---|---|---|---|
guildScheduledEvent | GuildScheduledEventResolvable | No | The guild scheduled event to fetch subscribers of |
options | Options | Yes | Options for fetching the subscribers |
Resolves a data entry to a data Object.
Returns
An instance from this ManagerName | Type | Optional | Description |
---|---|---|---|
idOrInstance | Holds | No | The id or instance of something in this Manager |
Resolves a data entry to an instance id.
Returns
Name | Type | Optional | Description |
---|---|---|---|
idOrInstance | Key | Holds | No | The id or instance of something in this Manager |