mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
FIxx
This commit is contained in:
parent
85964e0d3d
commit
93ecc5e8e7
1 changed files with 2 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ async def ban_reply(self: Client, ctx: Message):
|
|||
ban = await db.get_ban_status(ctx.from_user.id)
|
||||
if ban.get("is_banned"):
|
||||
await ctx.reply_msg(f'I am sorry, You are banned to use Me. \nBan Reason: {ban["ban_reason"]}')
|
||||
await ctx.stop_propagation()
|
||||
|
||||
|
||||
@app.on_message(filters.group & filters.incoming, group=-2)
|
||||
|
|
@ -39,6 +40,7 @@ async def grp_bd(self: Client, ctx: Message, strings):
|
|||
except:
|
||||
pass
|
||||
await self.leave_chat(ctx.chat.id)
|
||||
await ctx.stop_propagation()
|
||||
|
||||
|
||||
@app.on_message(filters.command("banuser", COMMAND_HANDLER) & filters.user(SUDO))
|
||||
|
|
|
|||
Loading…
Reference in a new issue