fix(pterodactyl): changed achivement embed colors

This commit is contained in:
Seaswimmer 2024-03-02 15:42:29 -05:00
parent 6cdab8363a
commit 4c7526b157
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -243,7 +243,7 @@ async def generate_join_leave_embed(username: str, join: bool) -> discord.Embed:
async def generate_achievement_embed(username: str, achievement: str, challenge: bool) -> discord.Embed:
embed = discord.Embed()
embed.color = discord.Color.dark_purple() if challenge else discord.Color.brand_green()
embed.color = discord.Color.from_str('#a800a7') if challenge else discord.Color.from_str('#54fb54')
embed.description = f"{bold(username)} has {'completed the challenge' if challenge else 'made the advancement'} {bold(achievement)}"
info = await get_info(username)
if info: