mirror of
https://github.com/Xevion/banner.git
synced 2025-12-11 00:06:35 -06:00
feat: use anyhow, refactor services & coordinator out of main.rs
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user