From c153c45f5e3977a9866f2fbcfc69cffb2c9cb0f3 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 28 Feb 2023 15:34:31 -0500 Subject: [PATCH] testing something --- galaxy/galaxy.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index be7cf79..59a1ac4 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -20,6 +20,8 @@ class Galaxy(commands.Cog): 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) timestamp_create = int(datetime.timestamp(member.created_at)) timestamp_join = int(datetime.timestamp(member.joined_at)) @@ -30,7 +32,7 @@ class Galaxy(commands.Cog): embed.add_field(name="Roles", value=f"{member.roles.mention}") embed.set_thumbnail(url=f"{avatarurl}") embed.set_footer(text=f"ID: {member.id}") - await ctx.send(embed=embed) + await ctx.send(contents=f"{roles}") @commands.command() @commands.guild_only()