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