Skip to content

Commit 5bcb18a

Browse files
formatting and content changes
1 parent 2b7a717 commit 5bcb18a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bot/exts/utils/attachment_pastebin_uploader.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,9 @@ async def on_message(self, message: discord.Message) -> None:
128128
# Send the user a DM with the delete link for the paste.
129129
# The angle brackets around the remove link are required to stop Discord from visiting the URL to produce a
130130
# preview, thereby deleting the paste
131-
await message.author.send(content=(f"[Click here](<{paste_response.removal}>) to delete the pasted code"
132-
f" from [your message](<{message.jump_url}>)")
131+
await message.author.send(
132+
f"[Click here](<{paste_response.removal}>) to delete the pasted attachment"
133+
f" contents copied from [your message](<{message.jump_url}>)"
133134
)
134135

135136
# Edit the bot message to contain the link to the paste.

0 commit comments

Comments
 (0)