From f8b5fdc1966967d8e4e6ce111c2d16dee3819c97 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Fri, 26 Nov 2021 13:55:23 +0700 Subject: [PATCH] forgot --- program/userbot_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/userbot_tools.py b/program/userbot_tools.py index da58c3f..48c0fb6 100644 --- a/program/userbot_tools.py +++ b/program/userbot_tools.py @@ -81,7 +81,7 @@ async def leave_all(client, message): ) -@Client.on_message(filters.left_chat_members) +@Client.on_message(filters.left_chat_member) async def ubot_leave(c: Client, m: Message): ass_id = (await user.get_me()).id bot_id = (await c.get_me()).id