Discord bots as Vercel lambda functions
This project aims to create an easy method for building Discord bots on the Vercel platform.
The benefit of building bots this way is, you do not have to pay for unused uptime, since the handlers are only spun up when a message is sent.
Crates in this repo
discord-lambda
[WIP]- The primary API for this project. Handles Discord magic in the background, while routing command calls to the client code.
discord-message
- Type definitions for creating Discord chat messages and exporting them to webhook-ready JSON.
discord-webhook-client
- A small wrapper library that can send messages via webhook to Discord.
discord-sendmessage
- A debug utility for sending discord messages from the commandline