Go to Latest
function runMethod
import { runMethod } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/validations/deps.ts";

Type Parameters

optional
T = any

Parameters

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

Returns

Promise<T>
import runMethod
import { runMethod } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/validations/deps.ts";