forked from blizzthewolf/SeaCogs
fix(pterodactyl): changed achivement embed colors
This commit is contained in:
parent
6cdab8363a
commit
4c7526b157
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue