Skip to main content
Latest
interface QueueBucketOptions
import { type QueueBucketOptions } from "https://deno.land/x/discordeno@18.0.1/rest/createQueueBucket.ts";

Properties

optional
remaining: number

How many requests are remaining. Defaults to 1

optional
max: number

Max number of requests allowed in this bucket. Defaults to 1.

optional
interval: number

The time in milliseconds that discord allows to make the max number of invalid requests. Defaults to 0

optional
timeoutId: number

timer to reset to 0