Fix draw commands

Rene Teigen 2 years ago
parent 32c95f5daf
commit 0e7cdc5ff6

@ -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(

@ -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(

Loading…
Cancel
Save