lunarflu HF staff commited on
Commit
2685d21
1 Parent(s): 01381bb
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ async def on_message(message):
55
  try:
56
  await user.send(f"xp_data: {xp_data}")
57
  except discord.HTTPException:
58
- await ctx.send("Failed to send a DM.")
59
 
60
  await bot.process_commands(message)
61
  except Exception as e:
 
55
  try:
56
  await user.send(f"xp_data: {xp_data}")
57
  except discord.HTTPException:
58
+ await user.send("Failed to send a DM.")
59
 
60
  await bot.process_commands(message)
61
  except Exception as e: