Added docker building.

This commit is contained in:
2023-02-21 19:56:36 +00:00
parent f5b43573c8
commit b6ab9c8888
31 changed files with 1476 additions and 75 deletions

View File

@ -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)]