This commit is contained in:
Seaswimmer 2023-02-28 04:26:13 -05:00
parent 92b0fd1cd3
commit b766b03eaa

View file

@ -16,7 +16,7 @@ class Galaxy(commands.Cog):
permissions = role.permissions permissions = role.permissions
color = re.sub('#',"",str(role.color)) color = re.sub('#',"",str(role.color))
colorcodelink = f"https://www.color-hex.com/color/{color}" colorcodelink = f"https://www.color-hex.com/color/{color}"
colorint = role.color.value colorint = int(role.color.value)
if permissions.administrator: if permissions.administrator:
embed = discord.Embed(color={colorint}, description="With Administrator") embed = discord.Embed(color={colorint}, description="With Administrator")
else: else: