From 1ecbda2943d47e64e567512670f34a194df01dd5 Mon Sep 17 00:00:00 2001 From: ErrorNoInternet Date: Mon, 16 Jan 2023 15:58:00 +0800 Subject: [PATCH] Add disconnect message --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.rs b/src/main.rs index d1d291e..e9b91fb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -125,6 +125,10 @@ async fn main() { Ok(_) => (), Err(error) => log_message(Error, &format!("An error occurred: {}", error)), } + log_message( + Bot, + &"ErrorNoWatcher has lost connection, reconnecting in 5 seconds...".to_string(), + ); std::thread::sleep(std::time::Duration::from_secs(5)); } }