composure_macros 0.2.0

Procedural macros for Composure Discord bots: #[command], #[app], #[view] and rsx! markup
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Kick
#[composure::command(scope = "dev")]
fn kick() -> &'static str {
    "kicked"
}

/// Admin
#[composure::group(subcommands(kick))]
struct Admin;

fn main() {}