Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -225,10 +225,10 @@ async def on_message(message):
|
|
225 |
embed.set_image(url="attachment://image.png")
|
226 |
await e.edit(embed=embed, attachments=[file])
|
227 |
|
228 |
-
except Exception as
|
229 |
-
print(
|
230 |
embed = discord.Embed(title="ERROR",
|
231 |
-
description=
|
232 |
color=0xFF3348)
|
233 |
await e.edit(embed=embed)
|
234 |
|
|
|
225 |
embed.set_image(url="attachment://image.png")
|
226 |
await e.edit(embed=embed, attachments=[file])
|
227 |
|
228 |
+
except Exception as exc:
|
229 |
+
print(exc)
|
230 |
embed = discord.Embed(title="ERROR",
|
231 |
+
description=exc,
|
232 |
color=0xFF3348)
|
233 |
await e.edit(embed=embed)
|
234 |
|