summaryrefslogtreecommitdiff
path: root/gateway/src/config.rs
blob: 999892b7f81ae7b41710d45f164c1ea55ee330fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use common::serde::{Deserialize, Serialize};
use twilight_gateway::Intents;

#[derive(Serialize, Deserialize, Clone)]
pub struct Config {
    pub token: String,
    pub intents: Intents
}

impl Default for Config {
    fn default() -> Self {
        Self { intents: Intents::empty(), token: String::default() }
    }
}