mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
Fix
This commit is contained in:
parent
1891e9f80f
commit
bc85da1b17
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ from misskaty.vars import COMMAND_HANDLER, LOG_CHANNEL, SUDO, SUPPORT_CHAT
|
|||
async def ban_reply(_, ctx: Message):
|
||||
if not ctx.from_user:
|
||||
return
|
||||
isban, alesan = await db.get_ban_status(ctx.from_user.id)
|
||||
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"]}'
|
||||
|
|
|
|||
Loading…
Reference in a new issue