Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -206,7 +206,7 @@ async def on_message(message):
|
|
206 |
image.save("image.png")
|
207 |
file = discord.File("image.png", filename="image.png")
|
208 |
embed.set_image(url="attachment://image.png")
|
209 |
-
e.edit(embed=embed,
|
210 |
|
211 |
|
212 |
except Exception as e:
|
|
|
206 |
image.save("image.png")
|
207 |
file = discord.File("image.png", filename="image.png")
|
208 |
embed.set_image(url="attachment://image.png")
|
209 |
+
e.edit(embed=embed, attachments=[file])
|
210 |
|
211 |
|
212 |
except Exception as e:
|