panda 0.5.3

An async Rust library for Discord
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use panda::client::Config;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let mut client = panda::new("your token here").await?;

    // Create config struct
    let config = Config::new().set_large_threshold(100);

    // Before start bot, set a confi
    client.set_config(config)?;

    client.start().await?;
    Ok(())
}