Fixed redouser missing parameters

Rene Teigen 2 years ago
parent deee0b328d
commit d935845f27

@ -177,7 +177,7 @@ class DrawDallEService(discord.Cog, name="DrawDallEService"):
)
)
redo_users[user_id] = RedoUser(prompt, ctx, ctx, result_message)
redo_users[user_id] = RedoUser(prompt=prompt, message=ctx, ctx=ctx, response=response_message, instruction=None, codex=False)
self.converser_cog.users_to_interactions[user_id].append(
response_message.id

@ -124,7 +124,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=False
)
self.converser_cog.redo_users[user.id].add_interaction(response_message.id)
await response_message.edit(

Loading…
Cancel
Save