Skip to main content
Module

x/harmony/mod.ts>RESTManager#make

An easy to use Discord API Library for Deno.
Go to Latest
method RESTManager.prototype.make
Re-export
import { RESTManager } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Makes a Request to Discord API.

Parameters

HTTP Method to use

url: string

URL of the Request

optional
body: unknown

Body to send with Request

optional
_maxRetries = [UNSUPPORTED]

Number of Max Retries to perform

optional
bucket: string | null

BucketID of the Request

optional
rawResponse: boolean

Whether to get Raw Response or body itself

optional
options: RequestOptions = [UNSUPPORTED]

Returns

Promise<any>