testing more changes to roleinfo

This commit is contained in:
SeaswimmerTheFsh 2023-06-19 18:02:57 -04:00
parent 0de43e8142
commit 91e04405d2

View file

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