mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Core] Use autohelp properly in local blacklist/whitelist (#2042)
This commit is contained in:
parent
1fd8a8e0a6
commit
aa69dd381f
@ -1401,8 +1401,7 @@ class Core(CoreLogic):
|
|||||||
"""
|
"""
|
||||||
Whitelist management commands.
|
Whitelist management commands.
|
||||||
"""
|
"""
|
||||||
if ctx.invoked_subcommand is None:
|
pass
|
||||||
await ctx.send_help()
|
|
||||||
|
|
||||||
@localwhitelist.command(name="add")
|
@localwhitelist.command(name="add")
|
||||||
async def localwhitelist_add(self, ctx, *, user_or_role: str):
|
async def localwhitelist_add(self, ctx, *, user_or_role: str):
|
||||||
@ -1484,8 +1483,7 @@ class Core(CoreLogic):
|
|||||||
"""
|
"""
|
||||||
blacklist management commands.
|
blacklist management commands.
|
||||||
"""
|
"""
|
||||||
if ctx.invoked_subcommand is None:
|
pass
|
||||||
await ctx.send_help()
|
|
||||||
|
|
||||||
@localblacklist.command(name="add")
|
@localblacklist.command(name="add")
|
||||||
async def localblacklist_add(self, ctx, *, user_or_role: str):
|
async def localblacklist_add(self, ctx, *, user_or_role: str):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user