QueueStoreManager
Defined in: src/structures/Types/Queue.ts:11
Properties
Section titled “Properties”Property | Type | Description | Defined in |
---|---|---|---|
delete | (guildId : string ) => Awaitable <boolean | void > | Async Delete a Database Value based of it’s guildId | src/structures/Types/Queue.ts:17 |
get | (guildId : string ) => Awaitable < | string | StoredQueue > | Async get a Value (MUST RETURN UNPARSED!) | src/structures/Types/Queue.ts:13 |
parse | (value : | string | StoredQueue ) => Awaitable <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:21 |
set | (guildId : string , value : | string | StoredQueue ) => Awaitable <boolean | void > | Async Set a value inside a guildId (MUST BE UNPARSED) | src/structures/Types/Queue.ts:15 |
stringify | (value : | string | StoredQueue ) => Awaitable < | 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:19 |