diff options
author | 2020-05-17 12:37:34 +0200 | |
---|---|---|
committer | 2020-05-17 12:40:15 +0200 | |
commit | 87cec1a863213aa23a07d29ca928766d382ee732 (patch) | |
tree | 4fc0f80ba10b8b3277de25e237bb2ae78e81ce31 /tests/test_helpers.py | |
parent | Use `send_help` to invoke command help (diff) |
Use `Command`-object for `send_help`
As @mathsman5133 pointed out, it's better to use the `Command`-instance
we typically already have in the current context than to rely on parsing
the qualified name again.
The invocation is now done as: `await ctx.send_help(ctx.command)`
Diffstat (limited to 'tests/test_helpers.py')
0 files changed, 0 insertions, 0 deletions