From 693167a581e79f31904f52b58ac778c5f9fb57a5 Mon Sep 17 00:00:00 2001 From: projectmoon Date: Tue, 9 Feb 2021 21:59:32 +0000 Subject: [PATCH] Log when we are performing initial sync. --- src/bot.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bot.rs b/src/bot.rs index 1da17a7..d7c6b9b 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -157,6 +157,7 @@ impl DiceBot { // Initial sync without event handler prevents responding to // messages received while bot was offline. TODO: selectively // respond to old messages? e.g. comands missed while offline. + info!("Performing intial sync (no commands will be responded to)"); self.client.sync_once(SyncSettings::default()).await?; client.add_event_emitter(Box::new(self)).await;