diff --git a/src/bot.rs b/src/bot.rs index b6fd24f..741a619 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -297,6 +297,8 @@ impl Bot { /// Runs the bot. This function does not return except in case of error. #[instrument(skip(self))] pub async fn run(mut self) -> Result { + self.client.sync_once(SyncSettings::default()).await?; + self.join_announce_rooms() .await .wrap_err("failed to join announcement rooms")?;