diff options
Diffstat (limited to 'exes/gateway/src/config.rs')
| -rw-r--r-- | exes/gateway/src/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exes/gateway/src/config.rs b/exes/gateway/src/config.rs index 7b12bfe..a1a2fad 100644 --- a/exes/gateway/src/config.rs +++ b/exes/gateway/src/config.rs @@ -2,14 +2,14 @@ use serde::{Deserialize, Serialize}; use twilight_gateway::Intents; #[derive(Serialize, Deserialize, Clone)] -pub struct GatewayConfig { +pub struct Gateway { pub token: String, pub intents: Intents, pub shard: u64, pub shard_total: u64, } -impl Default for GatewayConfig { +impl Default for Gateway { fn default() -> Self { Self { intents: Intents::empty(), |
