Docstrings fix

Third time's a charm
This commit is contained in:
Twentysix 2016-05-06 21:20:29 +02:00
parent c934dae7cf
commit def2035f19

View File

@ -287,7 +287,9 @@ class Owner:
@commands.group(name="command", pass_context=True)
@checks.is_owner()
async def command_disabler(self, ctx):
"""Disables/enables commands"""
"""Disables/enables commands
With no subcommands returns the disabled commands list"""
if ctx.invoked_subcommand is None:
await send_cmd_help(ctx)
if self.disabled_commands:
@ -299,7 +301,7 @@ class Owner:
@command_disabler.command()
async def disable(self, *, command):
"""Disable commands/subcommands"""
"""Disables commands/subcommands"""
comm_obj = await self.get_command(command)
if comm_obj is KeyError:
await self.bot.say("That command doesn't seem to exist.")