diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index ff32321..d141917 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -12,9 +12,10 @@ class Galaxy(commands.Cog): @commands.command() async def roleinfo(self, ctx, role: discord.Role): """Gives information on a specific role.""" - hexcolor = str(role.color) color = re.sub('#',"",str(role.color)) + colorcodelink = f"https://www.color-hex.com/color/{color}" await ctx.send(content=f"{color}") + await ctx.send(content=f"{colorcodelink}") @commands.command()