This commit is contained in:
yasirarism 2023-06-14 15:24:33 +00:00 committed by GitHub
parent 93ecc5e8e7
commit f7381f778c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +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()
await ctx.stop_propagation()
@app.on_message(filters.group & filters.incoming, group=-2)