Skip to main content
Module

x/discordeno/mod.ts>runMethod

Discord API library for Deno
Latest
function runMethod
Re-export
import { runMethod } from "https://deno.land/x/discordeno@18.0.1/mod.ts";

Type Parameters

optional
T = any

Parameters

rest: RestManager
method: RequestMethod
route: string
optional
body: any
optional
options: { retryCount?: number; bucketId?: string; headers?: Record<string, string>; }

Returns

Promise<T>