discodo

Rust wrapper of Discodo


Keywords
discodo, library, serenity
License
MIT

Documentation

discodo.rs

Rust wrapper of Discodo

Docs.rs

Example

#[tokio::main]
async fn main() {

    let framework = StandardFramework::new().configure(|c| c.prefix("/"));

    let mut client = Client::builder("TOKEN")
        .framework(framework)
        .register_discodo("127.0.0.1", None, None).await
        .await
        .expect("Error creating client");

    if let Err(why) = client.start().await {
        println!("Client error: {:?}", why);
    }
}