From 33178a041a45306db4f21e25306c36d5eee9ee9e Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 25 Dec 2024 15:46:36 +0300 Subject: [PATCH] fix bstat --- ubot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubot.py b/ubot.py index d56c002..1c2910e 100644 --- a/ubot.py +++ b/ubot.py @@ -187,7 +187,7 @@ async def main(): @client.on(events.NewMessage(outgoing=True, pattern=r'\.bstat$')) async def bio_stat(event): - stats_most_chats = states.states.stats_most_infect_spam_chats.most_common() + stats_most_chats = states.stats_most_infect_spam_chats.most_common() msg = "Session stats:\n" \ f"Medkit usage: {states.stats_medkit}\n" \ f"Most common chats:\n" \