minicambio #3
This commit is contained in:
2
main.py
2
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)
|
||||
|
||||
Reference in New Issue
Block a user