aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_helpers.py
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-05-17 12:37:34 +0200
committerGravatar Sebastiaan Zeeff <[email protected]>2020-05-17 12:40:15 +0200
commit87cec1a863213aa23a07d29ca928766d382ee732 (patch)
tree4fc0f80ba10b8b3277de25e237bb2ae78e81ce31 /tests/test_helpers.py
parentUse `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