Kaveen Kumarasinghe 2 years ago
commit 51395dc10e

@ -57,10 +57,11 @@ class ImgPromptOptimizer(commands.Cog, name="ImgPromptOptimizer"):
if isinstance(error, commands.CommandNotFound):
return
elif isinstance(error, commands.InvalidEndOfQuotedStringError):
await ctx.reply("There was an error while parsing your input. Please ensure that all quotation marks are closed and there is a space after the last quotation mark")
await ctx.reply(
"There was an error while parsing your input. Please ensure that all quotation marks are closed and there is a space after the last quotation mark"
)
raise error
@commands.command()
async def imgoptimize(self, ctx, *args):

Loading…
Cancel
Save