aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-07-17 21:40:16 +0200
committerGravatar Leon Sandøy <[email protected]>2020-07-17 21:40:16 +0200
commit0d22a0483e619788f59b6dfe2f8e6f64ec76e326 (patch)
tree7ef181868a7b7386f060848906dc2c9fc02df144 /tests
parentAdd 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 'tests')
0 files changed, 0 insertions, 0 deletions