diff --git a/minato_namikaze/bot_files/cogs/moderation/moderation.py b/minato_namikaze/bot_files/cogs/moderation/moderation.py index 4747fa4f..f26623d2 100644 --- a/minato_namikaze/bot_files/cogs/moderation/moderation.py +++ b/minato_namikaze/bot_files/cogs/moderation/moderation.py @@ -71,7 +71,7 @@ async def ban( reason: ActionReason = None, ): """A command which bans a given user""" - if ctx.message.author == member or ctx.message.author.id == member: + if member in (ctx.message.author, ctx.message.author.id): await ctx.send(embed=ErrorEmbed(description="You **can't ban yourself**!")) return try: