https://github.com/bluefrog130/composure-rs
https://github.com/bluefrog130/composure-rs
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bluefrog130/composure-rs
- Owner: BlueFrog130
- License: apache-2.0
- Created: 2023-04-29T16:38:58.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-16T15:36:17.000Z (about 3 years ago)
- Last Synced: 2025-02-01T15:22:27.441Z (over 1 year ago)
- Language: Rust
- Size: 180 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Composure
Yet another Discord bot framework with, but with a specific goal in mind.
The Discord API is moving in a clear direction - interactions. Interactions are an easy way to provide interactivity. Fully featured gateway bots have integrated interactions very well, but still require a dedicated server to be able to run. Thats where Composure comes in.
Composure is a lightweight interaction bot that aims to run on the edge. Everything is moving onto the edge - why not Discord bots? Composure is a frameowrk to parse and respond to interactions.
## Features
- Parse interactions
- Flexible [adapter](#adapters) system
### Adapters
Adapters are responsible for verifying the request, parsing the request body, then responding with an interaction response. Essentially, adapters hook everything together, it is a step above the raw frameowrk.
|Adapters |
|-----------------------------------|
|[Cloudflare](./adapters/cloudflare)|
## Todo
- [ ] Explore more adapters
- [ ] Create macro to simplify command tree
- [ ] Handle message component interaction
- [ ] Handle autocomplete interaction
- [ ] Handle modal submit interaction