diff --git a/src/bin/dicebot.rs b/src/bin/dicebot.rs index 96c6d54..9c27f67 100644 --- a/src/bin/dicebot.rs +++ b/src/bin/dicebot.rs @@ -15,7 +15,6 @@ async fn main() -> Result<(), Box> { let mut sigint = signal(SignalKind::interrupt())?; loop { - println!("Loop"); select! { _ = sigint.recv() => { break; diff --git a/src/bot.rs b/src/bot.rs index bad9ce4..9430fb2 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -15,9 +15,15 @@ pub struct MatrixConfig { pub home_server: String, /// The next batch to grab. This should be set automatically + #[serde(default)] pub next_batch: Option, + + /// The transaction ID. This should be set automatically #[serde(default)] pub txn_id: u64, + + /// The login table. This may be set to whatever you wish, depending on your login method, + /// though multi-step logins (like challenge-based) won't work here. pub login: toml::Value, }