From c934dae7cf842a074a7bcb9d52bf57d8d91886d7 Mon Sep 17 00:00:00 2001 From: Twentysix Date: Fri, 6 May 2016 21:13:17 +0200 Subject: [PATCH] Forgot docstrings --- cogs/owner.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cogs/owner.py b/cogs/owner.py index b9bb85c7c..aa9bec5a9 100644 --- a/cogs/owner.py +++ b/cogs/owner.py @@ -287,6 +287,7 @@ class Owner: @commands.group(name="command", pass_context=True) @checks.is_owner() async def command_disabler(self, ctx): + """Disables/enables commands""" if ctx.invoked_subcommand is None: await send_cmd_help(ctx) if self.disabled_commands: @@ -298,6 +299,7 @@ class Owner: @command_disabler.command() async def disable(self, *, command): + """Disable 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.") @@ -312,6 +314,7 @@ class Owner: @command_disabler.command() async def enable(self, *, command): + """Enables commands/subcommands""" if command in self.disabled_commands: self.disabled_commands.remove(command) fileIO("data/red/disabled_commands.json", "save", self.disabled_commands)