discord_rust_framework 0.0.1

A very high-level library for creating simple bots for Discord.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern crate serde;
extern crate serde_json;

#[derive(Serialize, Deserialize, Debug)]
pub struct User {
    pub id: String,
    pub username: String,
    pub discriminator: Option<String>,
    pub avatar: Option<String>,
    pub bot: Option<bool>,
    pub mfa_enabled: Option<bool>,
    pub verified: Option<bool>,
    pub email: Option<String>,
}