From c7d0bb2aeeb703cac8bc7b561473c925171498d1 Mon Sep 17 00:00:00 2001 From: yasirarism <55983182+yasirarism@users.noreply.github.com> Date: Wed, 14 Jun 2023 14:30:57 +0000 Subject: [PATCH] FIx --- misskaty/plugins/ban_user_or_chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misskaty/plugins/ban_user_or_chat.py b/misskaty/plugins/ban_user_or_chat.py index c60b11f6..bd95dd50 100644 --- a/misskaty/plugins/ban_user_or_chat.py +++ b/misskaty/plugins/ban_user_or_chat.py @@ -19,7 +19,7 @@ async def ban_reply(self: Client, ctx: Message): async def grp_bd(self: Client, ctx: Message, strings): chck = await db.get_chat(ctx.chat.id) if not chck: - total = await bot.get_chat_members_count(ctx.chat.id) + total = await self.get_chat_members_count(ctx.chat.id) r_j = ctx.from_user.mention if ctx.from_user else "Anonymous" await self.send_message( LOG_CHANNEL,