interface QueueBucketimport { type QueueBucket } from "https://deno.land/x/discordeno@17.2.0/rest/createQueueBucket.ts"; Propertiesremaining: numberAmount of requests that have are remaining. Defaults to 1. max: numberMax requests for this bucket. Defaults to 1. interval: numberThe time that discord allows to make the max number of requests. Defaults to 0 timeoutId: numbertimer to reset to 0 waiting: ((value: void | PromiseLike<void>) => void)[]The requests that are currently pending. pending: BucketRequest[]The requests that are currently pending. processing: booleanWhether or not the waiting queue is already processing. processingPending: booleanWhether or not the pending queue is already processing. firstRequest: booleanWhether the first request is pending. isRequestAllowed: () => booleanChecks if a request is allowed at this time. waitUntilRequestAvailable: () => Promise<void>Waits until a request is available processWaiting: () => Promise<void>Begins processing the waiting queue of requests. processPending: () => Promise<void>Begins processing the pending queue of requests. handleCompletedRequest: (headers: { remaining: number; interval: number; max: number; }) => voidHandler for whenever a request is validated. This should update the requested values or trigger any other necessary stuff. makeRequest: (options: BucketRequest) => Promise<void>Adds a request to the queue.