aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorNathan Ringo <nathan@remexre.com>2024-01-18 10:58:36 -0600
committerNathan Ringo <nathan@remexre.com>2024-01-18 10:58:36 -0600
commit00d0bfced902e97eeae5257c14134d4bc7efc710 (patch)
treeee026f328614e03aec3ed373d9f2e6c8e255f834 /src/config.rs
parent7017762a4a38266aa88976be141f7bd663647edc (diff)
Commands to interact with discocaml, associated IPC.
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs
index 47695e3..11742d9 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -1,4 +1,4 @@
-use crate::handlers::X500MapperConfig;
+use crate::{commands::CommandsConfig, handlers::X500MapperConfig};
use anyhow::{Context, Result};
use serde::Deserialize;
use std::{fs, path::Path};
@@ -9,6 +9,7 @@ pub struct Config {
pub database_url: String,
pub discord_token: String,
+ pub commands: CommandsConfig,
pub x500_mapper: X500MapperConfig,
}