Skip to content

Conversation

@DragonSenseiGuy
Copy link
Contributor

Closes #3422
Changes the response the bot gives to delete a paste in DM's when a user uploads a file.

Copy link
Member

@jb3 jb3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting & content changes.

Comment on lines 131 to 133
await message.author.send(content=(f"[Click here](<{paste_response.removal}>) to delete the pasted code"
f" from [your message](<{message.jump_url}>)")
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
await message.author.send(content=(f"[Click here](<{paste_response.removal}>) to delete the pasted code"
f" from [your message](<{message.jump_url}>)")
)
await message.author.send(
f"[Click here](<{paste_response.removal}>) to delete the pasted attachment"
f" contents copied from [your message](<{message.jump_url}>)"
)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Comment on lines 131 to 134
await message.author.send(
f"[Click here](<{paste_response.removal}>) to delete the pasted attachment"
f" contents copied from [your message](<{message.jump_url}>)"
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indented way too much.

Suggested change
await message.author.send(
f"[Click here](<{paste_response.removal}>) to delete the pasted attachment"
f" contents copied from [your message](<{message.jump_url}>)"
)
await message.author.send(
f"[Click here](<{paste_response.removal}>) to delete the pasted attachment"
f" contents copied from [your message](<{message.jump_url}>)"
)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also fixed.

@jb3 jb3 merged commit a5b76e8 into python-discord:main Nov 3, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide context when dming delete link from paste uploader

2 participants