Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
function runMethod
Re-export
import { runMethod } from "https://deno.land/x/discordeno@17.2.0/plugins/permissions/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>