From ed0d116c7fecf67ee9085eed8f61e34ed3abc093 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 9 Dec 2024 09:05:41 +0300 Subject: [PATCH] forgot about await --- ubot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubot.py b/ubot.py index 8311554..125beae 100644 --- a/ubot.py +++ b/ubot.py @@ -445,7 +445,7 @@ async def main(): async def bio_stat(event): msg = "Session stats:\n" \ f"Medkit usage: {stats_medkit}" - event.edit(msg) + await event.edit(msg) @client.on(events.NewMessage(outgoing=True, pattern='.l2f')) async def cmd_l2f(event): # Local->file/{id}.sqlite