Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/mod.ts>RestRequest

Discord API library for Deno
Extremely Popular
Go to Latest
interface RestRequest
Re-export
import { type RestRequest } from "https://deno.land/x/discordeno@17.2.0/mod.ts";

Properties

url: string
method: RequestMethod
respond: (payload: RestRequestResponse) => unknown
reject: (payload: RestRequestRejection) => unknown