disci
v0.0.5
Published
A HTTP Request handler for discord interactions
Downloads
15
Maintainers
Readme
🎨 DisciJs
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,
- The raw api
- 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.