mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
typo
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
This commit is contained in:
parent
4d43e984a8
commit
1468cb67ed
1 changed files with 2 additions and 2 deletions
|
|
@ -12,8 +12,8 @@ from misskaty.vars import COMMAND_HANDLER, LOG_CHANNEL, SUDO, SUPPORT_CHAT
|
|||
async def ban_reply(_, ctx: Message):
|
||||
if not ctx.from_user:
|
||||
return
|
||||
ban = await db.get_ban_status(ctx.from_user.id)
|
||||
if ban.get("is_banned"):
|
||||
userban = await db.get_ban_status(ctx.from_user.id)
|
||||
if userban:
|
||||
await ctx.reply_msg(
|
||||
f'I am sorry, You are banned to use Me. \nBan Reason: {ban["ban_reason"]}'
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue