Skip to content

Commit

Permalink
Update multi_pollinate command to use the correct emoji and fix typo …
Browse files Browse the repository at this point in the history
…in embeds
  • Loading branch information
Zingzy committed Jul 21, 2024
1 parent f5e77dd commit 4189ec4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
""",
"</multi-imagine:1187375074722975837> 🎨": """Generates AI Images using all available models
"</multi-pollinate:1187375074722975837> 🎨": """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
Expand Down
3 changes: 3 additions & 0 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 4189ec4

Please sign in to comment.