fixed roleinfo

This commit is contained in:
SeaswimmerTheFsh 2023-06-19 18:03:49 -04:00
parent 91e04405d2
commit c4f3fc5372

View file

@ -494,7 +494,7 @@ class Info(commands.Cog):
@commands.command()
@commands.guild_only()
async def roleinfo(self, ctx, list_permissions: bool = False, *, role: discord.Role):
async def roleinfo(self, ctx, role: discord.Role, list_permissions: bool = False):
"""Gives information on a specific role."""
permissions = role.permissions
if role.color.value == 0: