translate user interface to norwegian

This commit is contained in:
LBlend committed 2023-05-01 01:03:02 +09:00
1 parent ca488fd8bd
commit 6f7e310bb9
1 file changed
+8 -2
+8 -2
View File
@@ -10,6 +10,8 @@ from PIL import ImageDraw
from PIL import ImageFont
from PIL import ImageSequence
from cogs.utils import embed_templates
class The(commands.Cog):
"""
@@ -68,7 +70,7 @@ class The(commands.Cog):
self, interaction: discord.Interaction, top_text: str = "", image_url: str = "", bottom_text: str = ""
):
"""
Responds with a barnacle boy laser eyes THE meme with the given captions
Generer en barnacle boy laser eyes THE mem basert på gitt bilde/tekst
Parameters
----------
@@ -142,7 +144,11 @@ class The(commands.Cog):
except Exception as e:
self.bot.logger.warning(f"An error occurred while processing the images: {e}")
traceback.print_exc()
await interaction.followup.send("An error occurred while processing the images.")
await interaction.followup.send(
embed=embed_templates.error_fatal(
interaction, "Klarte ikke å generere mem! Har du gitt en ordentlig bildelenke?"
)
)
async def setup(bot):