Small ccrole update, sends help correctly

sherlock_initial
bobloy 5 years ago
parent acaa5b8fb9
commit ff074bd603

@ -15,6 +15,7 @@ class CCRole(commands.Cog):
""" """
def __init__(self, bot: Red): def __init__(self, bot: Red):
super().__init__()
self.bot = bot self.bot = bot
self.config = Config.get_conf(self, identifier=9999114111108101) self.config = Config.get_conf(self, identifier=9999114111108101)
default_guild = {"cmdlist": {}, "settings": {}} default_guild = {"cmdlist": {}, "settings": {}}
@ -23,12 +24,12 @@ class CCRole(commands.Cog):
@commands.guild_only() @commands.guild_only()
@commands.group() @commands.group()
async def ccrole(self, ctx): async def ccrole(self, ctx: commands.Context):
"""Custom commands management with roles """Custom commands management with roles
Highly customizable custom commands with role management.""" Highly customizable custom commands with role management."""
if not ctx.invoked_subcommand: if not ctx.invoked_subcommand:
pass await ctx.send_help()
@ccrole.command(name="add") @ccrole.command(name="add")
@checks.mod_or_permissions(administrator=True) @checks.mod_or_permissions(administrator=True)

Loading…
Cancel
Save