Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ewpratten/discord-lambda
Crates and utils for setting up Vercel lambda-based Discord bots
https://github.com/ewpratten/discord-lambda
bots discord discord-lambda framework rust vercel webhooks
Last synced: 3 months ago
JSON representation
Crates and utils for setting up Vercel lambda-based Discord bots
- Host: GitHub
- URL: https://github.com/ewpratten/discord-lambda
- Owner: ewpratten
- License: gpl-3.0
- Created: 2021-07-22T13:54:36.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-22T16:01:07.000Z (over 3 years ago)
- Last Synced: 2024-09-29T02:22:01.161Z (3 months ago)
- Topics: bots, discord, discord-lambda, framework, rust, vercel, webhooks
- Language: Rust
- Homepage:
- Size: 22.5 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Discord bots as Vercel lambda functions
[![Build](https://github.com/Ewpratten/discord-lambda/actions/workflows/build.yml/badge.svg)](https://github.com/Ewpratten/discord-lambda/actions/workflows/build.yml)
[![Clippy](https://github.com/Ewpratten/discord-lambda/actions/workflows/clippy.yml/badge.svg)](https://github.com/Ewpratten/discord-lambda/actions/workflows/clippy.yml)
[![Audit](https://github.com/Ewpratten/discord-lambda/actions/workflows/audit.yml/badge.svg)](https://github.com/Ewpratten/discord-lambda/actions/workflows/audit.yml)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`](./discord-lambda) **[WIP]** [![Crates.io](https://img.shields.io/crates/v/discord-lambda)](https://crates.io/crates/discord-lambda) [![Docs.rs](https://docs.rs/discord-lambda/badge.svg)](https://docs.rs/discord-lambda)
- The primary API for this project. Handles Discord magic in the background, while routing command calls to the client code.
- [`discord-message`](./discord-message) [![Crates.io](https://img.shields.io/crates/v/discord-message)](https://crates.io/crates/discord-message) [![Docs.rs](https://docs.rs/discord-message/badge.svg)](https://docs.rs/discord-message)
- Type definitions for creating Discord chat messages and exporting them to webhook-ready JSON.
- [`discord-webhook-client`](./discord-webhook-client) [![Crates.io](https://img.shields.io/crates/v/discord-webhook-client)](https://crates.io/crates/discord-webhook-client) [![Docs.rs](https://docs.rs/discord-webhook-client/badge.svg)](https://docs.rs/discord-webhook-client)
- A small wrapper library that can send messages via webhook to Discord.
- [`discord-sendmessage`](./discord-sendmessage) [![Crates.io](https://img.shields.io/crates/v/discord-sendmessage)](https://crates.io/crates/discord-sendmessage)
- A debug utility for sending discord messages from the commandline