oops lol
This commit is contained in:
parent
b766b03eaa
commit
19e987e4a5
1 changed files with 3 additions and 3 deletions
|
@ -16,11 +16,11 @@ 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 = int(role.color.value)
|
colorint = 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:
|
||||||
embed = discord.Embed(color={colorint}, description="Without Administrator")
|
embed = discord.Embed(color=colorint, description="Without Administrator")
|
||||||
await ctx.send(embed=embed)
|
await ctx.send(embed=embed)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue