Added : after method, I always forget those :/
This commit is contained in:
parent
64db88544d
commit
7ebb704bdd
|
@ -10,7 +10,7 @@ class Mod:
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
|
|
||||||
@commands.group(pass_context=True)
|
@commands.group(pass_context=True)
|
||||||
async def nsfw(self, ctx)
|
async def nsfw(self, ctx):
|
||||||
"""Handles adding or removing a channel as a nsfw channel"""
|
"""Handles adding or removing a channel as a nsfw channel"""
|
||||||
if ctx.invoked_subcommand is None:
|
if ctx.invoked_subcommand is None:
|
||||||
await self.bot.say('Invalid subcommand passed: {0.subcommand_passed}'.format(ctx))
|
await self.bot.say('Invalid subcommand passed: {0.subcommand_passed}'.format(ctx))
|
||||||
|
|
Loading…
Reference in a new issue