Skip to main content

Denord - Discord for Deno

Denord is a Deno JavaScript/TypeScript library for Discord apps and bots.

Warning

Denord is currently in active developement and not stable, so you should only use this if you’re feeling experimental.

How to use

To use Denord, import symbols that you need from deno.land. Here’s an example:

import { fetchDiscord } from "https://deno.land/x/denord_/rest.ts";

const myApp = await fetchDiscord(
  "oauth2/applications/@me",
  "Bot yourbottokengoeshere",
);

// Outputs snowflake, something like 1018619247838117919
console.log(myApp.id);

…Why is it called denord_ on deno.land?

Because denord was taken :/

Documentation

Almost everything in Denord, like functions and classes, should be documented with JSDoc. To view documentation on these symbols, click “View Documentation” while at deno.land.

Implementation Progress

You can see progress on what is being worked on and what will be worked on next by viewing the Denord Backlog Project on GitHub.

Sponsors

Big thank you to my sponsors!

(None yet… you could be the first!)