An open API service indexing awesome lists of open source software.

https://github.com/akiacode/discodo.rs

Rust wrapper of Discodo (serenity)
https://github.com/akiacode/discodo.rs

discodo library serenity

Last synced: 7 months ago
JSON representation

Rust wrapper of Discodo (serenity)

Awesome Lists containing this project

README

        

# discodo.rs
Rust wrapper of Discodo

##### [Docs.rs](https://docs.rs/discodo)

### Example
```rust
#[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);
}
}
```