fix the fix to optimize

😄 

Signed-off-by: Hikari Haru <rene9917@gmail.com>
Hikari Haru 1 year ago committed by GitHub
parent 9528619a9a
commit e85530639f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -75,7 +75,7 @@ class ImgPromptOptimizer(discord.Cog, name="ImgPromptOptimizer"):
final_prompt = self.OPTIMIZER_PRETEXT
# replace mentions with nicknames for the prompt
final_prompt += await self.converser_cog.mention_with_username(ctx, prompt)
final_prompt += await self.converser_cog.mention_to_username(ctx, prompt)
# If the prompt doesn't end in a period, terminate it.
if not final_prompt.endswith("."):

Loading…
Cancel
Save