diff options
| author | 2021-07-25 10:10:43 +0100 | |
|---|---|---|
| committer | 2021-07-25 17:10:43 +0800 | |
| commit | 02cd0ebec94286237832e4ea8a57bb17c1e2adfb (patch) | |
| tree | b16e5038b8d8b1780fd371b3ccae5c2ab77df06b /tests | |
| parent | Merge pull request #1694 from TizzySaurus/Update-docs-get-to-prevent-ghost-pings (diff) | |
Prevent ghost-pings in pypi command (#1696)
* Update `utils.messages.wait_for_deletion`
Will now clear reactions after the timeout ends to indicate it's no longer possible to delete the message through reactions.
* Update pypi command to not ghost-ping users
Will no longer ghost-ping users when an invalid packaged is search containing a ping and reaction is pressed to delete message.
* Update local file
* Remove redundant code
No longer try to clear reactions after calling `utils.messages.wait_for_deletion()` since the util now does it.
* Remove trailing whitespace
* Remove redundant import
* Fix NameErrors
* Remove redundant import
* Reword comment
* Update `contextlib.suppress` import to be consistent
* Update docstring to reflect earlier changes
* Update docstring to be more informative
* Update to delete error message if invocation doesn't ping
* Update to delete error message if invocation doesn't ping
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions