This commit is contained in:
Seaswimmer 2023-02-28 04:26:59 -05:00
parent b766b03eaa
commit 19e987e4a5

View file

@ -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)