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)
- Host: GitHub
- URL: https://github.com/akiacode/discodo.rs
- Owner: AkiaCode
- License: gpl-3.0
- Created: 2020-10-11T15:58:32.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-07T06:34:46.000Z (about 4 years ago)
- Last Synced: 2024-10-31T11:35:15.772Z (7 months ago)
- Topics: discodo, library, serenity
- Language: Rust
- Homepage: https://crates.io/crates/discodo
- Size: 20.5 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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);
}
}
```