Skip to content

Commit

Permalink
feat(meal): show calorie in field name (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
star0202 committed Apr 11, 2023
1 parent 781a597 commit 9d4ea94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crenata/discord/embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def meal_page(results: Optional[list[Any]], private: bool) -> Optional[Embed]:

for result in results:
embed.add_field(
name=f"{add_emoji(result.MMEAL_SC_NM)}",
name=f"{add_emoji(result.MMEAL_SC_NM)} ({result.CAL_INFO})",
value=f"{parse_br_tag(result.DDISH_NM)}",
inline=True,
)
Expand Down

0 comments on commit 9d4ea94

Please sign in to comment.