diff --git a/magbot-rs/src/config.rs b/magbot-rs/src/config.rs index a3f25ee..dcc6610 100644 --- a/magbot-rs/src/config.rs +++ b/magbot-rs/src/config.rs @@ -26,7 +26,7 @@ pub struct MagbotConfig { pub username: String, pub password: String, pub room_id: String, - pub status: Option, + pub status: MagbotStatus, } impl MagbotConfig { pub fn from_str(input: &str) -> anyhow::Result { @@ -41,6 +41,7 @@ impl Default for MagbotConfig { username: String::new(), password: String::new(), room_id: String::new(), + status: MagbotStatus::default(), } } }