Skip to content

Paste uploader does not catch when dms are closed #3423

@onerandomusername

Description

@onerandomusername

We're not catching or responding when a user cannot be DMed when uploading a paste message: we should try/catch the author.send() method.

I don't know what behaviour we should have regarding deleting the paste, continuing with the upload, or what we should do if DMs are closed.

await message.author.send(content=f"[Click here](<{paste_response.removal}>) to delete your recent paste.")

related to #3422

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions