Skip to content

Commit

Permalink
Fix tier emojis in /nightmarket command. (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
R3nzTheCodeGOD committed Sep 29, 2022
1 parent a9814c2 commit 2df8afe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/valorant/embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,10 @@ def __nightmarket_embed(skins: Dict, bot: ValorantBot) -> discord.Embed:

uuid, name, icon, price, dpice = skins['uuid'], skins['name'], skins['icon'], skins['price'], skins['disprice']

emoji = GetEmoji.tier_by_bot(uuid, bot)
vp_emoji = GetEmoji.point_by_bot('ValorantPointIcon', bot)

embed = Embed(f"{GetEmoji.tier(uuid)} **{name}**\n{vp_emoji} {dpice} ~~{price}~~", color=0x0F1923)
embed = Embed(f"{emoji} **{name}**\n{vp_emoji} {dpice} ~~{price}~~", color=0x0F1923)
embed.set_thumbnail(url=icon)
return embed

Expand Down

0 comments on commit 2df8afe

Please sign in to comment.