[Core] Use autohelp properly in local blacklist/whitelist (#2042)

This commit is contained in:
Michael H 2018-08-22 21:22:03 -04:00 committed by Toby Harradine
parent 1fd8a8e0a6
commit aa69dd381f

View File

@ -1401,8 +1401,7 @@ class Core(CoreLogic):
"""
Whitelist management commands.
"""
if ctx.invoked_subcommand is None:
await ctx.send_help()
pass
@localwhitelist.command(name="add")
async def localwhitelist_add(self, ctx, *, user_or_role: str):
@ -1484,8 +1483,7 @@ class Core(CoreLogic):
"""
blacklist management commands.
"""
if ctx.invoked_subcommand is None:
await ctx.send_help()
pass
@localblacklist.command(name="add")
async def localblacklist_add(self, ctx, *, user_or_role: str):