Add disconnect message

This commit is contained in:
ErrorNoInternet 2023-01-16 15:58:00 +08:00
parent 23ea5d41d9
commit 1ecbda2943
Signed by untrusted user who does not match committer: ErrorNoInternet
GPG Key ID: 2486BFB7B1E6A4A3

View File

@ -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));
}
}