A complete framework for Discord's Interactions, allowing you to build new Slash Command based bots with ease. If you don't need the framework, our verify, builders or api packages are fully independent and might be of use in your own applications.
Supports Node.JS 16+ as well as Service Worker based runtimes such as Cloudflare Workers.
If you're just looking to build your own bot as easily as possible, clone one of the above templates and check out the @discord-interactions/core
package!
- @discord-interactions/core - Core framework for Bots using Discord Interactions.
- @discord-interactions/verify - Verify discord interactions using either Node.js' Crypto or the Web SubtleCrypto API.
- @discord-interactions/builders - Easy builder classes for interaction responses (Messages/Modals), Components and Commands.
- @discord-interactions/api - A simple, typed wrapper around the Discord API.
- @discord-interactions/request - A low level Discord HTTP client that handles global and resource rate limits.
- isomorphic-fetch-ponyfill - A fetch ponyfill that supports Node.js, Cloudflare Workers, Service Workers + Browsers?.
- More Tests
- Documentation