diff options
| author | 2020-07-17 21:40:16 +0200 | |
|---|---|---|
| committer | 2020-07-17 21:40:16 +0200 | |
| commit | 0d22a0483e619788f59b6dfe2f8e6f64ec76e326 (patch) | |
| tree | 7ef181868a7b7386f060848906dc2c9fc02df144 /tests/helpers.py | |
| parent | Add ValidAllowDenyListType converter. (diff) | |
Kaizen: Make error_handler.py more embeddy.
Currently, some types of errors are returning plain strings that repeat
the input (which can be exploited to deliver stuff like mentions), and
others are returning generic messages that don't give any exception
information.
This commit unifies our approach around putting as much information as
we can (including the exception message), but always putting it inside
an embed, so that stuff like pings will not fire.
This, combined with the 1.4.0a `allowed_mentions` functionality, seems
like a reasonable compromise between security and usability.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions