Skip to content

Commit 389f38c

Browse files
remove return statement cos json is scared of them
1 parent c0f4569 commit 389f38c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cogs/AI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async def ai_art(self, inter: disnake.ApplicationCommandInteraction, text):
1919
raw_images = r["images"]
2020
images = [disnake.File(BytesIO(base64.decodebytes(i.encode("utf-8"))), "image.png") for i in raw_images]
2121

22-
return await inter.edit_original_response(files=images, content="Here you go!")
22+
await inter.edit_original_response(files=images, content="Here you go!")
2323

2424

2525
def setup(bot):

0 commit comments

Comments
 (0)