Dressed
Dressed is a Discord bot library that allows you to host a bot using the
interactions endpoint
system for Discord. Discord will send POST requests to your bot, instead of the websocket system that other libraries utilize.
For more information on common functions (e.g. getUser, createChannel, etc.), see the resources section.
One cool feature of Dressed is that you can make dynamic component IDs, so that you only need to write one component handler for many different scenarios. See more
Quick usage
bun add dressedimport { createMessage } from "dressed";
createMessage("<CHANNEL_ID>", "Hello from Dressed!");bun index.tsFor more information on how to create a simple bot, check out the getting started guide. You can find an example of some bots ready to deploy on Vercel and Deno deploy in this repo.
Dressed includes a Node HTTP server out of the box.
If you'd prefer to create your own, all the functions you need are available within dressed/server.