lunarflu HF staff commited on
Commit
0c41d1b
1 Parent(s): 0f50857

| {message_link} |

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -63,10 +63,7 @@ async def on_message(message):
63
  user = bot.get_user(811235357663297546) #811235357663297546
64
  number_of_messages = number_of_messages + 1
65
  message_link = f"[#{message.channel.name}]({message.jump_url})"
66
- dm_message = await user.send(f"{number_of_messages}|{message_link}|{message.author}: {message.content}")
67
-
68
- if dm_message.embeds:
69
- await dm_message.embeds[0].delete()
70
 
71
  # Allow other event handlers to process the message
72
  await bot.process_commands(message)
 
63
  user = bot.get_user(811235357663297546) #811235357663297546
64
  number_of_messages = number_of_messages + 1
65
  message_link = f"[#{message.channel.name}]({message.jump_url})"
66
+ dm_message = await user.send(f"{number_of_messages}| {message_link} |{message.author}: {message.content}")
 
 
 
67
 
68
  # Allow other event handlers to process the message
69
  await bot.process_commands(message)