mirror of
https://github.com/wlinator/luminara.git
synced 2024-10-02 18:03:12 +00:00
commit
2a177c2f75
2 changed files with 2 additions and 1 deletions
|
@ -215,6 +215,7 @@
|
||||||
"info_system": "**System:** {0} ({1})\n",
|
"info_system": "**System:** {0} ({1})\n",
|
||||||
"info_uptime": "**Uptime:** <t:{0}:R>\n",
|
"info_uptime": "**Uptime:** <t:{0}:R>\n",
|
||||||
"inspirobot_author": "InspiroBot (AI Generated)",
|
"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": "Introduction by {0}",
|
||||||
"intro_content_footer": "Type .intro in my DMs to start",
|
"intro_content_footer": "Type .intro in my DMs to start",
|
||||||
"intro_no_channel": "the introduction channel is not set, please contact a moderator.",
|
"intro_no_channel": "the introduction channel is not set, please contact a moderator.",
|
||||||
|
|
|
@ -31,7 +31,7 @@ class Inspirobot(commands.Cog):
|
||||||
try:
|
try:
|
||||||
image_url = await InspiroBot().get_image()
|
image_url = await InspiroBot().get_image()
|
||||||
except Exception as e:
|
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
|
raise LumiException(msg) from e
|
||||||
|
|
||||||
embed = Builder.create_embed(
|
embed = Builder.create_embed(
|
Loading…
Reference in a new issue