composure_macros 0.2.1

Procedural macros for Composure Discord bots: #[command], #[app], #[view] and rsx! markup
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use composure::{Modal, modal, command::ModalCtx};

#[derive(Modal)]
struct NoTitle {
    name: String,
}

#[modal("m")]
fn no_form(_ctx: ModalCtx) -> String {
    String::new()
}

fn main() {}