From f0c287a148d72d68517ec913250c1f5fd928fd1c Mon Sep 17 00:00:00 2001 From: YoursFunny Date: Thu, 15 Aug 2024 17:45:14 +0800 Subject: [PATCH] fix await --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 5e106cb..7c39edd 100644 --- a/main.py +++ b/main.py @@ -132,7 +132,7 @@ async def edit_message(update: Update, context: CustomContext) -> bool: async def handle_message(update: Update, context: CustomContext) -> None: - if edit_message(update, context): + if await edit_message(update, context): return if not (urls := extract_urls(update.message)): return