fixed roleinfo compatibility with slashtags
This commit is contained in:
parent
105f654d76
commit
f4f8b29bf0
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):
|
async def roleinfo(self, ctx, *, 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