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)