Skip to content

Only let the invoking user delete module not found error messages #2407

@n0Oo0Oo0b

Description

@n0Oo0Oo0b

When !pypi is unable to find a package, an error is sent like so:
Screenshot_2023-02-15-17-48-50-75_572064f74bd5f9fa804b05334aa4f912
However, the trashcan reaction can be used by anyone to delete the message. This can be problematic as it can be intentional to show that a package with that name doesn't exist. I propose that only the user that invoked the command will be able to delete the error message. This will also make the behavior more consistent with other delete functionalities like !eval.

Metadata

Metadata

Assignees

No one assigned

    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