filthy-rich 0.8.3

Tiny, ergonomic Discord Rich Presence library for your Rust apps.
Documentation
use anyhow::Result;
use filthy_rich::{PresenceRunner, types::Activity};

#[tokio::main]
async fn main() -> Result<()> {
    let mut runner = PresenceRunner::new("1463450870480900160");

    let activity = Activity::new()
        .name("cool app name")
        .details("Something?")
        .state("Probably~")
        .build();

    let client = runner.run(true).await?;
    client.set_activity(activity).await?;

    // indefinitely block here
    runner.wait().await?;

    Ok(())
}