a
This commit is contained in:
parent
ccaa9ceb3f
commit
64c1f79f10
1 changed files with 1 additions and 4 deletions
|
@ -15,11 +15,8 @@ class Galaxy(commands.Cog):
|
||||||
"""Gives information on a specific person."""
|
"""Gives information on a specific person."""
|
||||||
if member.color.value == 0:
|
if member.color.value == 0:
|
||||||
colorint = 10070709
|
colorint = 10070709
|
||||||
color = "99aab5"
|
|
||||||
else:
|
else:
|
||||||
colorint = member.color.value
|
colorint = member.color.value
|
||||||
color = re.sub('#',"",str(member.color))
|
|
||||||
colorcodelink = f"https://www.color-hex.com/color/{color}"
|
|
||||||
roles_slice = slice(0, -1, 2)
|
roles_slice = slice(0, -1, 2)
|
||||||
roles = member.roles[roles_slice]
|
roles = member.roles[roles_slice]
|
||||||
avatarurl = str(member.avatar_url)
|
avatarurl = str(member.avatar_url)
|
||||||
|
@ -32,7 +29,7 @@ class Galaxy(commands.Cog):
|
||||||
embed.add_field(name="Roles", value=f"{member.roles}")
|
embed.add_field(name="Roles", value=f"{member.roles}")
|
||||||
embed.set_thumbnail(url=f"{avatarurl}")
|
embed.set_thumbnail(url=f"{avatarurl}")
|
||||||
embed.set_footer(text=f"ID: {member.id}")
|
embed.set_footer(text=f"ID: {member.id}")
|
||||||
await ctx.send(content=f"{member.roles}")
|
await ctx.send(embed=embed)
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
|
|
Loading…
Reference in a new issue