Araeynn commited on
Commit
aacd191
1 Parent(s): 4bf7e75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -227,7 +227,10 @@ async def on_message(message):
227
 
228
  except Exception as e:
229
  print(e)
230
- return 0
 
 
 
231
 
232
  token = os.environ["TOKEN"]
233
  client.run(token)
 
227
 
228
  except Exception as e:
229
  print(e)
230
+ embed = discord.Embed(title="ERROR",
231
+ description=e,
232
+ color=0xFF3348)
233
+ await e.edit(embed=embed)
234
 
235
  token = os.environ["TOKEN"]
236
  client.run(token)