Skip to content

DefaultQueueStore

Defined in: src/structures/Queue.ts:62

new DefaultQueueStore(): DefaultQueueStore;

Defined in: src/structures/Queue.ts:64

DefaultQueueStore

delete(guildId: string): boolean;

Defined in: src/structures/Queue.ts:90

Delete the queue for a guild

ParameterTypeDescription
guildIdstringThe guild ID

boolean

The queue for the guild

QueueStoreManager.delete


get(guildId: string): StoredQueue;

Defined in: src/structures/Queue.ts:71

Get the queue for a guild

ParameterTypeDescription
guildIdstringThe guild ID

StoredQueue

The queue for the guild

QueueStoreManager.get


parse(value:
| string
| StoredQueue): Partial<StoredQueue>;

Defined in: src/structures/Queue.ts:108

Parse the queue for a guild

ParameterTypeDescription
value| string | StoredQueueThe queue to parse

Partial<StoredQueue>

The parsed queue

QueueStoreManager.parse


set(guildId: string, valueToStringify: any): boolean;

Defined in: src/structures/Queue.ts:81

Set the queue for a guild

ParameterTypeDescription
guildIdstringThe guild ID
valueToStringifyanyThe queue to set

boolean

The queue for the guild

QueueStoreManager.set


stringify(value:
| string
| StoredQueue):
| string
| StoredQueue;

Defined in: src/structures/Queue.ts:99

Stringify the queue for a guild

ParameterTypeDescription
value| string | StoredQueueThe queue to stringify

| string | StoredQueue

The stringified queue

QueueStoreManager.stringify