From 29ab89ca137e0e378b8fc458f26790a69613e2ed Mon Sep 17 00:00:00 2001 From: Blergo Date: Tue, 2 Jul 2024 11:29:50 +0100 Subject: [PATCH] adding server stats --- command_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command_handlers.py b/command_handlers.py index 25c440e..3a8ccae 100644 --- a/command_handlers.py +++ b/command_handlers.py @@ -115,7 +115,7 @@ def handle_stats_steps(sender_id, message, step, interface, bbs_nodes): send_message(response, sender_id, interface) update_user_state(sender_id, {'command': 'STATS', 'step': 2}) if choice == 1: - response = "COMING SOON!!" + response = "CPU: " + psutil.cpu_percent() send_message(response, sender_id, interface) handle_stats_command(sender_id, interface) return