Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface CreateRestManagerOptions
import { type CreateRestManagerOptions } from "https://deno.land/x/discordeno@17.0.0/rest/mod.ts";

Properties

token: string
optional
customUrl: string
optional
maxRetryCount: number
optional
version: number
optional
secretKey: string
optional
debug: (text: string) => unknown
optional
checkRateLimits: checkRateLimits
optional
cleanupQueues: cleanupQueues
optional
processQueue: processQueue
optional
processRateLimitedPaths: processRateLimitedPaths
optional
processRequestHeaders: processRequestHeaders
optional
processRequest: processRequest
optional
createRequestBody: createRequestBody
optional
runMethod: runMethod
optional
simplifyUrl: simplifyUrl
optional
processGlobalQueue: processGlobalQueue
optional
convertRestError: convertRestError
optional
sendRequest: sendRequest
optional
fetching: (options: RestSendRequestOptions) => void
optional
fetched: (options: RestSendRequestOptions, response: Response) => void