serenity-builder
A utility library to make Serenity's builder easier to use.
[]
= "0.3"
Overview
Use Serenity's builder with typed_builder for intuitive handling.
// serenity
let embed = default
.title
.description
.author;
// serenity-builder
let embed = builder
.title
.description
.author_name
.author_url
.build;
Features
| Feature | Description | Default Feature? |
|---|---|---|
embed |
Enable embed builder | Yes |
message |
Enable message builder | Yes |
Basic builders (embed, message) are default features. You can use them immediately by adding the crate with cargo add or adding it to your Cargo.toml.
If you only want to enable specific features, install with --no-default-features and --features:
Roadmap
| # | Step | Status |
|---|---|---|
| 1 | Embed Builder | ✅ |
| 2 | Message Builder | ⚠️ |
| 3 | Model Builder | ❌ |
| 4 | Button Builder | ❌ |
| 5 | Invite Builder | ❌ |
| 6 | Thread Builder | ❌ |
| 7 | Channel Builder | ❌ |
| 8 | Sticker Builder | ❌ |
| 9 | Command Builder | ❌ |
| 10 | Webhook Builder | ❌ |
| 11 | ForumTag Builder | ❌ |
| 12 | ActionRow Builder | ❌ |
| 13 | ForumPost Builder | ❌ |
| 14 | Attachments Builder | ❌ |
| 15 | SelectMenu Builder | ❌ |
| 16 | Event Builder | ❌ |
...and more!
License
This project is licensed under the Apache License 2.0.