From 0e7cdc5ff68690a4f3f755ad80aa5b08eca58e34 Mon Sep 17 00:00:00 2001 From: Rene Teigen Date: Sat, 14 Jan 2023 09:21:48 +0000 Subject: [PATCH] Fix draw commands --- cogs/commands.py | 4 ++-- cogs/image_prompt_optimizer.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cogs/commands.py b/cogs/commands.py index e918f50..a9608dd 100644 --- a/cogs/commands.py +++ b/cogs/commands.py @@ -18,8 +18,8 @@ class Commands(discord.Cog, name="Commands"): message_queue, deletion_queue, converser_cog, - image_service_cog, image_draw_cog, + image_service_cog, ): super().__init__() self.bot = bot @@ -28,8 +28,8 @@ class Commands(discord.Cog, name="Commands"): self.message_queue = message_queue self.deletion_queue = deletion_queue self.converser_cog = converser_cog - self.image_service_cog = image_service_cog self.image_draw_cog = image_draw_cog + self.image_service_cog = image_service_cog # Create slash command groups dalle = discord.SlashCommandGroup( diff --git a/cogs/image_prompt_optimizer.py b/cogs/image_prompt_optimizer.py index a670f71..a7891bf 100644 --- a/cogs/image_prompt_optimizer.py +++ b/cogs/image_prompt_optimizer.py @@ -114,7 +114,7 @@ class ImgPromptOptimizer(discord.Cog, name="ImgPromptOptimizer"): ) self.converser_cog.redo_users[user.id] = RedoUser( - final_prompt, ctx, ctx, response_message + prompt=final_prompt, message=ctx, ctx=ctx, response=response_message, instruction=None,codex=None,paginator=None ) self.converser_cog.redo_users[user.id].add_interaction(response_message.id) await response_message.edit(