fixed error in the embed's color

This commit is contained in:
Seaswimmer 2023-02-28 15:17:18 -05:00
parent 030c05f62b
commit 4fe8f4fd38

View file

@ -22,7 +22,7 @@ class Galaxy(commands.Cog):
colorcodelink = f"https://www.color-hex.com/color/{color}" colorcodelink = f"https://www.color-hex.com/color/{color}"
timestamp_create = int(datetime.timestamp(member.created_at)) timestamp_create = int(datetime.timestamp(member.created_at))
timestamp_join = int(datetime.timestamp(member.joined_at)) timestamp_join = int(datetime.timestamp(member.joined_at))
embed = discord.Embed(title=f"{member.name}#{member.discriminator}", color=color) embed = discord.Embed(title=f"{member.name}#{member.discriminator}", color=colorint)
embed.add_field(name="Joined At", value=f"<t:{timestamp_join}>") embed.add_field(name="Joined At", value=f"<t:{timestamp_join}>")
embed.add_field(name="Created At", value=f"<t:{timestamp_create}>") embed.add_field(name="Created At", value=f"<t:{timestamp_create}>")
embed.add_field(name="Avatar", value=f"[Click Here]({member.avatar_url})") embed.add_field(name="Avatar", value=f"[Click Here]({member.avatar_url})")