disci
Version:
A HTTP Request handler for discord interactions
52 lines (29 loc) • 1.8 kB
Markdown
# 🎨 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
```bash
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](https://github.com/discord/discord-interactions-js) or [discord-verify](https://github.com/IanMitchell/interaction-kit/tree/main/packages/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](https://dev--disci.netlify.app/)
## 🔗 Links
* [Documentation & Guide](https://dev--disci.netlify.app/)
* [Npm](https://www.npmjs.com/package/disci)
* [Github](https://github.com/typicalninja/disci)
* [Discord Server](https://discord.gg/ynwckXS9T2)
## License
This repository and the code inside it is licensed under the Apache-2.0 License. Read [LICENSE](https://github.com/typicalninja/disci/blob/master/LICENSE) for more information.