Discord
Library and binary providing interaction with features of the Discord API.
To use this library head to the crates.io link above and copy the snippet to enter into your Cargo.toml
.
Examples
Fetch guild name from invite
use get_invite;
let invite = get_invite.await?;
println!;
Fetch guild features from invite
use get_invite;
let invite = get_invite.await?;
let features = invite.guild?.features;
// do something with features!
More examples can be found in the command line utility which maintains feature parity with the library.
Command line utility
Feature Fetching
Welcome Screen Fetching
Usage
- Clone the repository
- Build with
cargo build
- Profit! Run the binary generated to see all available options