diff --git a/src/main.rs b/src/main.rs index 3b24ff5..33e7cdf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -49,7 +49,7 @@ use teloxide::{ type BotDialogue = Dialogue>; -#[derive(Envconfig)] +#[derive(Envconfig, Clone)] pub struct Config { #[envconfig(from = "BOT_TOKEN")] pub bot_token: String,