diff options
| author | Rapptz <[email protected]> | 2017-06-26 18:13:46 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-06-26 18:13:46 -0400 |
| commit | ad20e3066e155ff73bcf5de343fa424abd110ab5 (patch) | |
| tree | 85077e63da8051921494116a97072210eb4800dc | |
| parent | Add Reaction.__str__ (diff) | |
| download | discord.py-ad20e3066e155ff73bcf5de343fa424abd110ab5.tar.xz discord.py-ad20e3066e155ff73bcf5de343fa424abd110ab5.zip | |
[commands] Add parameter that failed in fall-back BadArgument error.
| -rw-r--r-- | discord/ext/commands/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index 567efde5..cc8dd8bf 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -259,7 +259,7 @@ class Command: except AttributeError: name = converter.__class__.__name__ - raise BadArgument('Converting to "{}" failed.'.format(name)) from e + raise BadArgument('Converting to "{}" failed for parameter "{}".'.format(name, param.name)) from e @property def clean_params(self): |