interface InvalidRequestBucketimport { type InvalidRequestBucket } from "https://deno.land/x/discordeno@17.2.0/rest/createInvalidRequestBucket.ts"; Propertiescurrent: numbercurrent invalid amount max: numbermax invalid requests allowed until ban. Defaults to 10,000 interval: numberThe time that discord allows to make the max number of invalid requests. Defaults to 10 minutes timeoutId: numbertimer to reset to 0 safety: numberhow safe to be from max. Defaults to 1 frozenAt: numberwhen first request in this period was made errorStatuses: number[]The request statuses that count as an invalid request. requested: numberThe amount of requests that were requested from this bucket. waiting: ((value: void | PromiseLike<void>) => void)[]The requests that are currently pending. processing: booleanWhether or not the waiting queue is already processing. requestsAllowed: () => numberGives the number of requests that are currently allowed. 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. handleCompletedRequest: (code: number, sharedScope: boolean) => voidHandler for whenever a request is validated. This should update the requested values or trigger any other necessary stuff.