Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
DM improvement message_link = f"[#{message.channel.name}]({message.jump_url})" await user.send(f"{number_of_messages}|{message_link}|{message.author}: {message.content}")
Browse files
app.py
CHANGED
@@ -62,7 +62,8 @@ async def on_message(message):
|
|
62 |
if message.author != bot.user:
|
63 |
user = bot.get_user(811235357663297546) #811235357663297546
|
64 |
number_of_messages = number_of_messages + 1
|
65 |
-
|
|
|
66 |
|
67 |
# Allow other event handlers to process the message
|
68 |
await bot.process_commands(message)
|
|
|
62 |
if message.author != bot.user:
|
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 |
+
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)
|