mirror of
https://github.com/wlinator/luminara.git
synced 2024-10-02 16:23:12 +00:00
Convert some plain text into a locale string
This commit is contained in:
parent
ed1ffed39a
commit
8b59351e2b
2 changed files with 2 additions and 1 deletions
|
@ -215,6 +215,7 @@
|
|||
"info_system": "**System:** {0} ({1})\n",
|
||||
"info_uptime": "**Uptime:** <t:{0}:R>\n",
|
||||
"inspirobot_author": "InspiroBot (AI Generated)",
|
||||
"inspirobot_failed_to_get_image": "Failed to get image URL from InspiroBot: {0}",
|
||||
"intro_content": "Introduction by {0}",
|
||||
"intro_content_footer": "Type .intro in my DMs to start",
|
||||
"intro_no_channel": "the introduction channel is not set, please contact a moderator.",
|
||||
|
|
|
@ -31,7 +31,7 @@ class Inspirobot(commands.Cog):
|
|||
try:
|
||||
image_url = await InspiroBot().get_image()
|
||||
except Exception as e:
|
||||
msg = f"Failed to get image URL from Inspirobot: {e}"
|
||||
msg = CONST.STRINGS["inspirobot_failed_to_get_image"].format(e)
|
||||
raise LumiException(msg) from e
|
||||
|
||||
embed = Builder.create_embed(
|
||||
|
|
Loading…
Reference in a new issue