Time Debugging via Print

This commit is contained in:
Neshura 2023-08-02 23:39:35 +02:00
parent 0159724a7c
commit 767f9652dd
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -192,6 +192,8 @@ fn run_bot() {
// Enter a loop (not for debugging)
loop {
println!("Start Time: {}", this.start_time.time());
println!("Previous Time: {}", old);
this.idle();
// 3 retries in case of connection issues
let mut loop_breaker: u8 = 0;
@ -204,6 +206,8 @@ fn run_bot() {
loop_breaker += 1;
};
this.print_info();
println!("Start Time: {}", this.start_time.time());
println!("Previous Time: {}", old);
this.idle();
}
},