QueueOptions
@discordeno/bot • Docs
Documentation / @discordeno/bot / QueueOptions
Interface: QueueOptions
Properties
deleteQueueDelay?
optional
deleteQueueDelay:number
The time in milliseconds to wait before deleting this queue if it is empty. Defaults to 60000(one minute).
Defined in
packages/rest/dist/types/queue.d.ts:72
identifier
identifier:
string
The base key that identifies this queue in the rest manager
Defined in
packages/rest/dist/types/queue.d.ts:74
interval?
optional
interval:number
The time in milliseconds that discord allows to make the max number of invalid requests. Defaults to 0
Defined in
packages/rest/dist/types/queue.d.ts:66
max?
optional
max:number
Max number of requests allowed in this this. Defaults to 1.
Defined in
packages/rest/dist/types/queue.d.ts:64
remaining?
optional
remaining:number
How many requests are remaining. Defaults to 1
Defined in
packages/rest/dist/types/queue.d.ts:62
timeoutId?
optional
timeoutId:Timeout
timer to reset to 0
Defined in
packages/rest/dist/types/queue.d.ts:68
url
url:
string
The url this queue will be handling.
Defined in
packages/rest/dist/types/queue.d.ts:70