diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index 046d36d..597a6a6 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -8,6 +8,13 @@ class Galaxy(commands.Cog): def __init__(self, bot): self.bot = bot + @commands.command() + async def roleinfo(self, ctx, role: discord.Role): + """Gives information on a specific role.""" + hexcolor = str(role.color) + await ctx.send(content=f"{hexcolor}") + + @commands.command() async def unix(self, ctx): """Posts the current Unix timestamp."""