aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dragon <[email protected]>2025-11-03 18:49:11 -0500
committerGravatar GitHub <[email protected]>2025-11-03 23:49:11 +0000
commita5b76e8886c43f9373afe52c2803462dcf5b307e (patch)
tree2fb8ecc0c7ea75ef5e4c187d97289d5a77438405
parentfeat: include GitHub token in headers if available (diff)
Provide original context when DMing delete link for attachment paste upload (#3432)HEADmain
-rw-r--r--bot/exts/utils/attachment_pastebin_uploader.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bot/exts/utils/attachment_pastebin_uploader.py b/bot/exts/utils/attachment_pastebin_uploader.py
index 1ea74b509..d39c03f10 100644
--- a/bot/exts/utils/attachment_pastebin_uploader.py
+++ b/bot/exts/utils/attachment_pastebin_uploader.py
@@ -128,7 +128,10 @@ class AutoTextAttachmentUploader(commands.Cog):
# Send the user a DM with the delete link for the paste.
# The angle brackets around the remove link are required to stop Discord from visiting the URL to produce a
# preview, thereby deleting the paste
- await message.author.send(content=f"[Click here](<{paste_response.removal}>) to delete your recent paste.")
+ await message.author.send(
+ f"[Click here](<{paste_response.removal}>) to delete the pasted attachment"
+ f" contents copied from [your message](<{message.jump_url}>)"
+ )
# Edit the bot message to contain the link to the paste.
await bot_reply.edit(content=f"[Click here]({paste_response.link}) to see this code in our pastebin.")