Format Python code with psf/black push

github-actions 2 years ago
parent b3fc6aa503
commit 7f98fa446d

@ -89,9 +89,11 @@ class ImgPromptOptimizer(commands.Cog, name="ImgPromptOptimizer"):
await ctx.reply("I'm sorry, I can't mention users, roles, or channels.") await ctx.reply("I'm sorry, I can't mention users, roles, or channels.")
return return
response_message = await ctx.reply(response_text.replace("Optimized Prompt:",""). response_message = await ctx.reply(
replace("Output Prompt:", ""). response_text.replace("Optimized Prompt:", "")
replace("Output:","")) .replace("Output Prompt:", "")
.replace("Output:", "")
)
self.converser_cog.users_to_interactions[ctx.message.author.id] = [] self.converser_cog.users_to_interactions[ctx.message.author.id] = []
self.converser_cog.users_to_interactions[ctx.message.author.id].append( self.converser_cog.users_to_interactions[ctx.message.author.id].append(

Loading…
Cancel
Save