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

0.0.5 • Public • Published

🎨 DisciJs

NPM version badge NPM bundle size NPM license GitHub issues

An user-friendly library for handling Discord interactions via interaction webhooks, suitable for both Node.js and Cloudflare Workers, (with untested support for additional platforms).

🚀 Install

Use any of the following commands

npm install disci

# yarn

yarn add disci

# pnpm

pnpm add disci

Overview

DisciJs Introduces multiple helpers and classes to make easier when handling interactions via the new (relatively) interaction webhook system.

DisciJs does not include a native way to verify discord interactions. You can use discord-interactions-js or discord-verify for validation of received requests

This package expects you to have prior knowledge of javascript / typescript and prior knowledge with interacting with the discord api via either,

  1. The raw api
  2. or other discord libraries (like discord.js)

Guides and more can be found here

🔗 Links

License

This repository and the code inside it is licensed under the Apache-2.0 License. Read LICENSE for more information.

Package Sidebar

Install

npm i disci

Weekly Downloads

3

Version

0.0.5

License

Apache-2.0

Unpacked Size

169 kB

Total Files

8

Last publish

Collaborators

  • typicalninja21