From 4109efc3c3d73e47cf3c7a54138cc0a154879277 Mon Sep 17 00:00:00 2001 From: Neshura Date: Wed, 2 Aug 2023 23:42:25 +0200 Subject: [PATCH] More Time Debugging via Print --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.rs b/src/main.rs index cbd6a32..ac04f80 100644 --- a/src/main.rs +++ b/src/main.rs @@ -194,6 +194,8 @@ fn run_bot() { loop { println!("Start Time: {}", this.start_time.time()); println!("Previous Time: {}", old); + println!("Difference Start - Old: {}", this.start_time.time() - old); + println!("Difference Now - Start: {}", Utc::now().time() - this.start_time.time()); this.idle(); // 3 retries in case of connection issues let mut loop_breaker: u8 = 0; @@ -208,6 +210,8 @@ fn run_bot() { this.print_info(); println!("Start Time: {}", this.start_time.time()); println!("Previous Time: {}", old); + println!("Difference: {}", this.start_time.time() - old); + println!("Difference Now - Start: {}", Utc::now().time() - this.start_time.time()); this.idle(); } },