Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
| {message_link} |
Browse files
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)
|