Skip to content

QueueStoreManager

Properties

PropertyTypeDescriptionDefined in
delete(guildId: string) => Promise<boolean | void>Async Delete a Database Value based of it’s guildIdsrc/structures/Types/Queue.ts:15
get(guildId: string) => Promise<string | StoredQueue>Async get a Value (MUST RETURN UNPARSED!)src/structures/Types/Queue.ts:11
parse(value: string | StoredQueue) => Promise<Partial<StoredQueue>>Async Parse the saved value back to the Queue (IF YOU DON’T NEED PARSING/STRINGIFY, then just return the value)src/structures/Types/Queue.ts:19
set(guildId: string, value: string | StoredQueue) => Promise<boolean | void>Async Set a value inside a guildId (MUST BE UNPARSED)src/structures/Types/Queue.ts:13
stringify(value: string | StoredQueue) => Promise<string | StoredQueue>Async Transform the value(s) inside of the QueueStoreManager (IF YOU DON’T NEED PARSING/STRINGIFY, then just return the value)src/structures/Types/Queue.ts:17