Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Extremely Popular
Go to Latest
interface QueueBucketOptions
import { type QueueBucketOptions } from "https://deno.land/x/discordeno@17.2.0/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