feat: use anyhow, refactor services & coordinator out of main.rs

This commit is contained in:
2025-08-26 15:33:29 -05:00
parent d4c55a3fd8
commit cff672b30a
8 changed files with 234 additions and 184 deletions

View File

@@ -0,0 +1,11 @@
use serde::Deserialize;
#[derive(Deserialize)]
pub struct Config {
pub bot_token: String,
pub database_url: String,
pub redis_url: String,
pub banner_base_url: String,
pub bot_target_guild: u64,
pub bot_app_id: u64,
}