minicambio #3

This commit is contained in:
binlab
2023-11-03 22:59:15 +00:00
parent 3e7cc54111
commit ccf8e9d68e

View File

@@ -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)