From ccf8e9d68e151470b36fc44b55e04e022ba53de9 Mon Sep 17 00:00:00 2001 From: binlab Date: Fri, 3 Nov 2023 22:59:15 +0000 Subject: [PATCH] minicambio #3 --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index b45bcc2..6efa49f 100644 --- a/main.py +++ b/main.py @@ -67,7 +67,7 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'], msg = 0 role = discord.utils.get(ctx.guild.roles, name="Admin") foca = 518377522485002241 - if ctx.author.id == foca or !(role not in ctx.author.roles or ctx.author.id == os.environ['AID'] or ctx.author.id == os.environ['JID']): + if ctx.author.id == foca or role in ctx.author.roles or ctx.author.id != os.environ['AID'] or ctx.author.id != os.environ['JID']: if user == os.environ['N1']: channel = bot.get_channel(1166495380003889232) msg = await channel.fetch_message(1167496435944652891)