From 53ee1b109f2b57fe1b7453bd21a409f54ac8d777 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Mon, 21 Feb 2022 21:04:16 +0700 Subject: [PATCH] [check] some fixes --- program/utils/function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/utils/function.py b/program/utils/function.py index 39e2e1d..becb98f 100644 --- a/program/utils/function.py +++ b/program/utils/function.py @@ -22,7 +22,7 @@ async def get_calls(m: Message, err_msg: str = "") -> Optional[InputGroupCall]: ).full_chat if full_chat is not None: return full_chat.call - await message.err(f"❌ no group calls found\n\n» `{err_msg}`") + await c.send_message(m.chat.id, f"❌ no group calls found\n\n» `{err_msg}`") return False