Update ban_user_or_chat.py

This commit is contained in:
Yasir Aris M 2024-08-27 15:13:26 +07:00 committed by GitHub
parent bc85da1b17
commit e4a5287d66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,7 @@ async def ban_reply(_, ctx: Message):
isban = await db.get_ban_status(ctx.from_user.id)
if isban:
await ctx.reply_msg(
f'I am sorry, You are banned to use Me. \nBan Reason: {alesan["reason"]}'
f'I am sorry, You are banned to use Me. \nBan Reason: {isban["reason"]}'
)
await ctx.stop_propagation()