0xMoonwalker / discord-lambda

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:GNU General Public License v3.0


Languages

Language:Rust 100.0%