testing more changes to roleinfo
This commit is contained in:
parent
0de43e8142
commit
91e04405d2
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue