-
-
Notifications
You must be signed in to change notification settings - Fork 751
Add trash option to all bot responses #1136
Copy link
Copy link
Open
Labels
a: frontendRelated to output and formattingRelated to output and formattingp: 2 - normalNormal PriorityNormal Prioritys: planningDiscussing detailsDiscussing detailst: featureNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
a: frontendRelated to output and formattingRelated to output and formattingp: 2 - normalNormal PriorityNormal Prioritys: planningDiscussing detailsDiscussing detailst: featureNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for issues without a type.
Issue
When using a command like
!rule [rules...]or!pep <pep_number>, there is no way for the user to delete the response sent by the bot.This is would be relevant when entering the wrong argument (for example
!rule 4instead of!rule 5), you just want to check something real quick or you get the output wasn't what you expected.Proposed solution
Add a "trash can" reaction to let the user delete the response from the bot. This would be the default for all commands, with the option to disable it for specific commands.
A possible way of specifying that a command should not have the trash option would be using a decorator. Something like
@not_deletableor@no_trashwould be used for the commands.We already have the trash functionality implemented in many commands, so this is just a matter of making it more general.