Format Python code with psf/black push

github-actions 2 years ago
parent 44070100fc
commit 7401728fbe

@ -106,7 +106,12 @@ class DrawDallEService(commands.Cog, name="DrawDallEService"):
) )
await result_message.edit( await result_message.edit(
view=SaveView( view=SaveView(
ctx, image_urls, self, self.converser_cog, result_message, True ctx,
image_urls,
self,
self.converser_cog,
result_message,
True,
) )
) )
@ -204,7 +209,14 @@ class DrawDallEService(commands.Cog, name="DrawDallEService"):
class SaveView(discord.ui.View): class SaveView(discord.ui.View):
def __init__( def __init__(
self, ctx, image_urls, cog, converser_cog, message, no_retry=False, only_save=None self,
ctx,
image_urls,
cog,
converser_cog,
message,
no_retry=False,
only_save=None,
): ):
super().__init__( super().__init__(
timeout=3600 if not only_save else None timeout=3600 if not only_save else None

Loading…
Cancel
Save