Added docker building.
This commit is contained in:
15
src/args.rs
15
src/args.rs
@ -77,8 +77,21 @@ pub struct BotConfig {
|
||||
)]
|
||||
pub session_file: String,
|
||||
|
||||
#[arg(name = "bot-excluded-chats", long, env = "BOT_EXCLUDED_CHATS")]
|
||||
#[arg(
|
||||
name = "bot-excluded-chats",
|
||||
long,
|
||||
env = "BOT_EXCLUDED_CHATS",
|
||||
value_delimiter = ','
|
||||
)]
|
||||
pub excluded_chats: Vec<i64>,
|
||||
|
||||
#[arg(
|
||||
name = "bot-currency-excluded-chats",
|
||||
long,
|
||||
env = "BOT_CURRENCY_EXCLUDED_CHATS",
|
||||
value_delimiter = ','
|
||||
)]
|
||||
pub currency_excluded_chats: Vec<i64>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Parser, Debug)]
|
||||
|
Reference in New Issue
Block a user