More Time Debugging via Print

This commit is contained in:
Neshura 2023-08-02 23:42:25 +02:00
parent 767f9652dd
commit 4109efc3c3
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

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