fixed a bug
This commit is contained in:
parent
278afc756f
commit
0e737ea30e
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class Galaxy(commands.Cog):
|
||||||
"""You shouldn't be able to see this!"""
|
"""You shouldn't be able to see this!"""
|
||||||
role = ctx.guild.get_role(1083210988888784996)
|
role = ctx.guild.get_role(1083210988888784996)
|
||||||
if role in ctx.author.roles:
|
if role in ctx.author.roles:
|
||||||
await ctx.author.removeroles(role, reaason="Requested through -lwaccess")
|
await ctx.author.remove_roles(role, reaason="Requested through -lwaccess")
|
||||||
await ctx.send(content="Higher Access role removed.")
|
await ctx.send(content="Higher Access role removed.")
|
||||||
else:
|
else:
|
||||||
await ctx.author.add_roles(role, reason="Requested through -lwaccess")
|
await ctx.author.add_roles(role, reason="Requested through -lwaccess")
|
||||||
|
|
Loading…
Reference in a new issue