discord-rest
TypeScript icon, indicating that this package has built-in type declarations

1.0.10 • Public • Published

discord-rest

This module provides a Coverage of the REST API of the Discord API in Node.js.

publish NPM version NPM downloads
GitHub Sponsors donate button PayPal donate button

Discord-rest is a wrapper for the Discord REST API, in usage on Discord Slash Commands, Webhooks, and more. Support is also planned soon for oauth2.

## Thing to know

  • Discord-rest is not a library similar to Discord.js, you can't connect a bot with it.
  • Discord-rest is made for WebSite backends, and Webhooks endpoints for slash commands.
  • You can't use in the browser, but you can use it in Node.js with the node-fetch module or with the window.fetch() function in some React environments that expose it.
  • Discord-rest don't have a cache system, because it's not used for a long time usage.

Go to the documentation

Documentation

Package Sidebar

Install

npm i discord-rest

Weekly Downloads

3

Version

1.0.10

License

MIT

Unpacked Size

110 kB

Total Files

47

Last publish

Collaborators

  • garder500