Initial commit

This commit is contained in:
파링 2026-01-05 22:54:32 +09:00
commit 8c6f7d4379
Signed by: paring
SSH key fingerprint: SHA256:8uCHhCpn/gVOLEaTolmbub9kfM6XBxWkIWmHxUZoWWk
21 changed files with 4184 additions and 0 deletions

18
src/bot/config.rs Normal file
View file

@ -0,0 +1,18 @@
use secrecy::SecretString;
use serde::Deserialize;
#[derive(Deserialize, Debug)]
pub struct Config {
pub bot: BotConfig,
pub db: DatabaseConfig,
}
#[derive(Deserialize, Debug)]
pub struct DatabaseConfig {
pub url: SecretString,
}
#[derive(Deserialize, Debug)]
pub struct BotConfig {
pub token: SecretString,
}