From dd2331fe9db6c923e6f1de2708318b0c1830426c Mon Sep 17 00:00:00 2001 From: yasirarism <55983182+yasirarism@users.noreply.github.com> Date: Wed, 14 Jun 2023 14:40:20 +0000 Subject: [PATCH] Fix string --- 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 ed37c6fa..a7d036dc 100644 --- a/misskaty/plugins/ban_user_or_chat.py +++ b/misskaty/plugins/ban_user_or_chat.py @@ -23,7 +23,7 @@ async def grp_bd(self: Client, ctx: Message, strings): r_j = ctx.from_user.mention if ctx.from_user else "Anonymous" await self.send_message( LOG_CHANNEL, - strings("log_bot_added").format(ttl=ctx.chat.title, cid=ctx.chat.id, tot=total, r_j=r_j), + strings("log_bot_added", context="grup_tools")).format(ttl=ctx.chat.title, cid=ctx.chat.id, tot=total, r_j=r_j), ) await db.add_chat(ctx.chat.id, ctx.chat.title) if chck['is_disabled']: