Skip to content

Commit

Permalink
Update botnuker.py
Browse files Browse the repository at this point in the history
  • Loading branch information
FlashGriefs authored Jun 6, 2024
1 parent 43e440c commit feafdc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/botnuker.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async def ban_member(user_id):
return

bot_member = guild.me
if bot_member.top_role.position > member.top_role.position:
if bot_member.top_role > member.top_role:
await member.ban(reason=ban_message)
await asynccprint(f"Banned Member: {user_id}", 0)

Expand Down Expand Up @@ -229,4 +229,4 @@ async def on_ready():

bot.run(token)
except Exception as e:
cprint(f"{e}!", 1)
cprint(f"{e}!", 1)

0 comments on commit feafdc5

Please sign in to comment.