fixed roleinfo compatibility with slashtags

This commit is contained in:
Seaswimmer 2023-03-14 00:19:43 -04:00
parent 105f654d76
commit f4f8b29bf0

View file

@ -494,7 +494,7 @@ class Info(commands.Cog):
@commands.command()
@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."""
permissions = role.permissions
if role.color.value == 0: