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" \