Skip to content

Crates and utils for setting up Vercel lambda-based Discord bots

License

Notifications You must be signed in to change notification settings

ewpratten/discord-lambda

Repository files navigation

Discord bots as Vercel lambda functions

Build Clippy Audit

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] Crates.io Docs.rs
    • The primary API for this project. Handles Discord magic in the background, while routing command calls to the client code.
  • discord-message Crates.io Docs.rs
    • Type definitions for creating Discord chat messages and exporting them to webhook-ready JSON.
  • discord-webhook-client Crates.io Docs.rs
    • A small wrapper library that can send messages via webhook to Discord.
  • discord-sendmessage Crates.io
    • A debug utility for sending discord messages from the commandline

About

Crates and utils for setting up Vercel lambda-based Discord bots

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages