create bot_name field in Config

This commit is contained in:
Akulij 2025-05-27 14:11:33 +05:00
parent 77ba6dcfc5
commit 1757571f35

View File

@ -55,6 +55,8 @@ pub struct Config {
pub admin_password: String, pub admin_password: String,
#[envconfig(from = "ADMIN_ID")] #[envconfig(from = "ADMIN_ID")]
pub admin_id: u64, pub admin_id: u64,
#[envconfig(from = "BOT_NAME")]
pub bot_name: String,
} }
#[derive(BotCommands, Clone)] #[derive(BotCommands, Clone)]