From fea27106457c09a2411aee442ac8b13bcbc91a38 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 28 Feb 2023 04:41:29 -0500 Subject: [PATCH] testing some changes --- galaxy/galaxy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index 9661bd3..b84fe41 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -17,11 +17,11 @@ class Galaxy(commands.Cog): color = re.sub('#',"",str(role.color)) colorcodelink = f"https://www.color-hex.com/color/{color}" if role.color.value == 0: - colorint = await self.bot.get_embed_color(None) + colorint = 10070709 else: colorint = role.color.value if permissions.administrator: - embed = discord.Embed(color=colorint, description=f"**ID:** {role.id}\n**Mention:** {role.mention}\n**Creation Date:** {role.created_at}\n**Color:** [str({role.color})]({colorcodelink})\n**Hoisted:** {role.hoist}\n**Position:** {role.position}\n**Managed:** {role.managed}\n**Mentionable:** {role.mentionable}\n**Administrator:** {role.permissions.administrator}") + embed = discord.Embed(title=f"{role.name}", color=colorint, description=f"**ID:** {role.id}\n**Mention:** {role.mention}\n**Creation Date:** {role.created_at}\n**Color:** [{role.color}]({colorcodelink})\n**Hoisted:** {role.hoist}\n**Position:** {role.position}\n**Managed:** {role.managed}\n**Mentionable:** {role.mentionable}\n**Administrator:** {role.permissions.administrator}") else: embed = discord.Embed(color=colorint, description="Without Administrator") await ctx.send(embed=embed)