From 4189ec4e1be2b3b7b2a1dc30366eecf131051e4c Mon Sep 17 00:00:00 2001 From: Zane <90309290+Zingzy@users.noreply.github.com> Date: Sun, 21 Jul 2024 19:28:54 +0530 Subject: [PATCH] Update multi_pollinate command to use the correct emoji and fix typo in embeds --- main.py | 2 +- utils.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index a43a979..baea6ec 100644 --- a/main.py +++ b/main.py @@ -28,7 +28,7 @@ - **nologo** 🚫 : Specifies whether to remove the logo from the generated images (deafault False) - **private** 🔒 : when set to True the generated Image will only be visible to you """, - " 🎨": """Generates AI Images using all available models + " 🎨": """Generates AI Images using all available models - **prompt** 🗣️ : Your prompt for the Image to be generated - **width** ↔️ : The width of your prompted Image - **height** ↕️ : The height of your prompted Image diff --git a/utils.py b/utils.py index 5aa2531..87e1819 100644 --- a/utils.py +++ b/utils.py @@ -47,12 +47,15 @@ "https://i.giphy.com/tXL4FHPSnVJ0A.gif", ] + class PromptTooLongError(discord.app_commands.AppCommandError): pass + class DimensionTooSmallError(discord.app_commands.AppCommandError): pass + def get_prompt_data(message_id: int): try: return prompts.find_one({"_id": message_id})