Skip to content

Delete messages when !pypi module is invalid #1443

@TizzySaurus

Description

@TizzySaurus

When users use the !pypi command with an invalid module, you currently get a response saying "Package could not be found.".

What I'm proposing it that after a delay (I believe we have bot.constants.RedirectOutput.delete_delay for this) the bot should delete both its response and the invocation message, like !d currently does.

This would help reduce channel flooding when someone is trying to remember the name of a module, and since it's not a trivial change I'm happy to try and implement this myself if it's something we decide we want.

Metadata

Metadata

Assignees

Labels

a: backendRelated to internal functionality and utilities (error_handler, logging, security, utils and core)p: 2 - normalNormal Priorityt: enhancementChanges or improvements to existing features

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions