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;

use std::collections::BTreeMap;

#[derive(Serialize, Deserialize, Debug)]
pub struct Identity {
    pub token: String,
    pub properties: BTreeMap<String, String>,
    pub compress: Option<bool>,
    pub large_threshold: Option<i32>,
}

impl super::MessageData for Identity { }