From 9469c92a5391392f8fa5ae6fb5d82874b99fbf7e Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 28 Feb 2023 04:15:51 -0500 Subject: [PATCH] testing color code links --- galaxy/galaxy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()