fixed a bug

This commit is contained in:
Seaswimmer 2023-03-08 21:44:32 -05:00
parent 278afc756f
commit 0e737ea30e

View file

@ -20,7 +20,7 @@ class Galaxy(commands.Cog):
"""You shouldn't be able to see this!"""
role = ctx.guild.get_role(1083210988888784996)
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.")
else:
await ctx.author.add_roles(role, reason="Requested through -lwaccess")