From 19e987e4a50d7cbf6309a1a5e1d68e23f3b5450f Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 28 Feb 2023 04:26:59 -0500 Subject: [PATCH] oops lol --- galaxy/galaxy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index 8db3a43..5ee5a3d 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -16,11 +16,11 @@ class Galaxy(commands.Cog): permissions = role.permissions color = re.sub('#',"",str(role.color)) colorcodelink = f"https://www.color-hex.com/color/{color}" - colorint = int(role.color.value) + colorint = role.color.value if permissions.administrator: - embed = discord.Embed(color={colorint}, description="With Administrator") + embed = discord.Embed(color=colorint, description="With Administrator") else: - embed = discord.Embed(color={colorint}, description="Without Administrator") + embed = discord.Embed(color=colorint, description="Without Administrator") await ctx.send(embed=embed)