1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 18:03:12 +00:00

feat: Add config_boost_total_count to strings.en-US.json and update footer text in create_boost_embed function

This commit is contained in:
wlinator 2024-08-30 04:58:42 -04:00
parent feaea8ea26
commit 02b9116b4b
2 changed files with 2 additions and 1 deletions

View file

@ -90,6 +90,7 @@
"config_boost_module_disabled": "the boost module was successfully disabled.",
"config_boost_template_field": "New Template:",
"config_boost_template_updated": "the boost message template has been updated.",
"config_boost_total_count": "Total server boosts: {0}",
"config_example_next_footer": "An example will be sent next.",
"config_level_channel_set": "all level announcements will be sent in {0}.",
"config_level_current_channel_set": "members will receive level announcements in their current channel.",

View file

@ -44,7 +44,7 @@ async def create_boost_embed(
embed.set_author(name=user_name, icon_url=user_avatar_url)
embed.set_image(url=image_url or CONST.BOOST_ICON)
embed.set_footer(
text=f"Total server boosts: {boost_count}",
text=CONST.STRINGS["config_boost_total_count"].format(boost_count),
icon_url=CONST.EXCLAIM_ICON,
)