create bot_name field in Config
This commit is contained in:
parent
77ba6dcfc5
commit
1757571f35
@ -55,6 +55,8 @@ pub struct Config {
|
||||
pub admin_password: String,
|
||||
#[envconfig(from = "ADMIN_ID")]
|
||||
pub admin_id: u64,
|
||||
#[envconfig(from = "BOT_NAME")]
|
||||
pub bot_name: String,
|
||||
}
|
||||
|
||||
#[derive(BotCommands, Clone)]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user