More redouser

Rene Teigen 2 years ago
parent 0e7cdc5ff6
commit b5ed1be93a

@ -123,7 +123,7 @@ class DrawDallEService(discord.Cog, name="DrawDallEService"):
if from_context:
result_message = await ctx.fetch_message(result_message.id)
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,paginator=None)
else:
if not vary: # Editing case
@ -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,paginator=None)
self.converser_cog.users_to_interactions[user_id].append(
response_message.id

@ -114,7 +114,7 @@ class ImgPromptOptimizer(discord.Cog, name="ImgPromptOptimizer"):
)
self.converser_cog.redo_users[user.id] = RedoUser(
prompt=final_prompt, message=ctx, ctx=ctx, response=response_message, instruction=None,codex=None,paginator=None
prompt=final_prompt, message=ctx, ctx=ctx, response=response_message, instruction=None,codex=False,paginator=None
)
self.converser_cog.redo_users[user.id].add_interaction(response_message.id)
await response_message.edit(

Loading…
Cancel
Save