mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
Fix
This commit is contained in:
parent
47ce746635
commit
1891e9f80f
1 changed files with 2 additions and 2 deletions
|
|
@ -88,10 +88,10 @@ async def ban_a_user(bot, message):
|
|||
except Exception as e:
|
||||
return await message.reply(f"Error - {e}")
|
||||
else:
|
||||
isban, alesan = await db.get_ban_status(k.id)
|
||||
isban = await db.get_ban_status(k.id)
|
||||
if isban:
|
||||
return await message.reply(
|
||||
f"{k.mention} is already banned\n<b>Reason:</b> {alesan['reason']}"
|
||||
f"{k.mention} is already banned\n<b>Reason:</b> {reason}"
|
||||
)
|
||||
await db.ban_user(k.id, reason)
|
||||
await message.reply(
|
||||
|
|
|
|||
Loading…
Reference in a new issue