ok does this work?

This commit is contained in:
Seaswimmer 2023-02-28 04:21:20 -05:00
parent 8da715190d
commit 0dfa34fcd7

View file

@ -15,10 +15,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(color)
if permissions.administrator:
embed = discord.Embed(color={color}, content="With Administrator")
embed = discord.Embed(color={colorint}, description="With Administrator")
else:
embed = discord.Embed(color={color}, content="Without Administrator")
embed = discord.Embed(color={colorint}, description="Without Administrator")
await ctx.send(embed=embed)