minicambio #5 (otro espacio)
This commit is contained in:
4
main.py
4
main.py
@@ -68,11 +68,11 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'],
|
|||||||
role = discord.utils.get(ctx.guild.roles, name="Admin")
|
role = discord.utils.get(ctx.guild.roles, name="Admin")
|
||||||
foca = 518377522485002241
|
foca = 518377522485002241
|
||||||
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 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']:
|
if user == os.environ['N1']:
|
||||||
channel = bot.get_channel(1166495380003889232)
|
channel = bot.get_channel(1166495380003889232)
|
||||||
msg = await channel.fetch_message(1167496435944652891)
|
msg = await channel.fetch_message(1167496435944652891)
|
||||||
|
|
||||||
elif user == os.environ['N2']:
|
elif user == os.environ['N2']:
|
||||||
channel = bot.get_channel(1153429735527948399)
|
channel = bot.get_channel(1153429735527948399)
|
||||||
msg = await channel.fetch_message(1153429808429158460)
|
msg = await channel.fetch_message(1153429808429158460)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user