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
use composure::types::Message;

#[composure::command(user, name = "Inspect")]
fn inspect(target: Message) -> String {
    target.content
}

fn main() {}