Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
interface CreateRestManagerOptions
Re-export
import { type CreateRestManagerOptions } from "https://deno.land/x/discordeno@17.2.0/template/minimal/deps.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