From e85530639f842275bb29b6f57ab25aaf16e65dbe Mon Sep 17 00:00:00 2001 From: Hikari Haru Date: Thu, 12 Jan 2023 21:13:42 +0100 Subject: [PATCH] fix the fix to optimize MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 😄 Signed-off-by: Hikari Haru --- cogs/image_prompt_optimizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/image_prompt_optimizer.py b/cogs/image_prompt_optimizer.py index 915fa91..33c01a7 100644 --- a/cogs/image_prompt_optimizer.py +++ b/cogs/image_prompt_optimizer.py @@ -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("."):