GuildScheduledEventManager

export class GuildScheduledEventManager extends CachedManager<Snowflake, GuildScheduledEvent, GuildScheduledEventResolvable>
export class GuildScheduledEventManager extends CachedManager<Snowflake, GuildScheduledEvent, GuildScheduledEventResolvable>
Manages API methods for GuildScheduledEvents and stores their cache.
Readonly
cache:Collection<Key, Holds>
The cache of items for this manager.
Inherited from DataManager
Readonly
client:Client
The client that instantiated this Manager
Inherited from BaseManager
guild:Guild
The guild this manager belongs to
Readonly
holds:Constructable<Holds>
The data structure belonging to this manager.
Inherited from DataManager
create(options):Promise<GuildScheduledEvent>
Creates a new guild scheduled event.
NameTypeOptionalDescription
optionsGuildScheduledEventCreateOptionsNoOptions for creating the guild scheduled event
delete(guildScheduledEvent):Promise<void>
Deletes a guild scheduled event.
NameTypeOptionalDescription
guildScheduledEventGuildScheduledEventResolvableNoThe guild scheduled event to delete
edit(guildScheduledEvent, options):Promise<GuildScheduledEvent<AcceptableStatus>>
Edits a guild scheduled event.
NameTypeOptionalDescription
guildScheduledEventGuildScheduledEventResolvableNoThe guild scheduled event to edit
optionsGuildScheduledEventEditOptions<Status, AcceptableStatus>NoOptions 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.
NameTypeOptionalDescription
guildScheduledEventGuildScheduledEventResolvableNoThe guild scheduled event to fetch subscribers of
optionsOptionsYesOptions for fetching the subscribers
resolve(idOrInstance):Holds
Resolves a data entry to a data Object.
Returns
An instance from this Manager
NameTypeOptionalDescription
idOrInstanceHoldsNoThe id or instance of something in this Manager
resolveId(idOrInstance):Key
Resolves a data entry to an instance id.
Returns
NameTypeOptionalDescription
idOrInstanceKey | HoldsNoThe id or instance of something in this Manager
valueOf():Collection<Key, Holds>