From 64c1f79f109f40f50f1eec6710ad062d10127165 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 28 Feb 2023 15:39:52 -0500 Subject: [PATCH] a --- galaxy/galaxy.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index 68568c9..601379e 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -15,11 +15,8 @@ class Galaxy(commands.Cog): """Gives information on a specific person.""" if member.color.value == 0: colorint = 10070709 - color = "99aab5" else: 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 = member.roles[roles_slice] avatarurl = str(member.avatar_url) @@ -32,7 +29,7 @@ class Galaxy(commands.Cog): embed.add_field(name="Roles", value=f"{member.roles}") embed.set_thumbnail(url=f"{avatarurl}") embed.set_footer(text=f"ID: {member.id}") - await ctx.send(content=f"{member.roles}") + await ctx.send(embed=embed) @commands.command() @commands.guild_only()