aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Senjan21 <[email protected]>2021-02-05 12:43:33 +0100
committerGravatar GitHub <[email protected]>2021-02-05 12:43:33 +0100
commit383e47a8762aba88d6470a694bde9ac6769cc852 (patch)
tree68f052a951b9c9d8f9034fb9c124c2fbdaaef923
parentMerge pull request #1378 from PH-KDX/patch-1 (diff)
parentAdd jumplink to deleted messages (diff)
Merge pull request #1397 from python-discord/feat/1280/deleted-jumplink
Add jumplink to deleted messages
-rw-r--r--bot/exts/moderation/modlog.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/exts/moderation/modlog.py b/bot/exts/moderation/modlog.py
index e4b119f41..2dae9d268 100644
--- a/bot/exts/moderation/modlog.py
+++ b/bot/exts/moderation/modlog.py
@@ -546,6 +546,7 @@ class ModLog(Cog, name="ModLog"):
f"**Author:** {format_user(author)}\n"
f"**Channel:** {channel.category}/#{channel.name} (`{channel.id}`)\n"
f"**Message ID:** `{message.id}`\n"
+ f"[Jump to message]({message.jump_url})\n"
"\n"
)
else:
@@ -553,6 +554,7 @@ class ModLog(Cog, name="ModLog"):
f"**Author:** {format_user(author)}\n"
f"**Channel:** #{channel.name} (`{channel.id}`)\n"
f"**Message ID:** `{message.id}`\n"
+ f"[Jump to message]({message.jump_url})\n"
"\n"
)