From ff074bd6030c8acf9324331a75eeda6c54f255fb Mon Sep 17 00:00:00 2001 From: bobloy Date: Mon, 27 Jul 2020 12:24:49 -0400 Subject: [PATCH] Small ccrole update, sends help correctly --- ccrole/ccrole.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ccrole/ccrole.py b/ccrole/ccrole.py index b07897b..bacbd76 100644 --- a/ccrole/ccrole.py +++ b/ccrole/ccrole.py @@ -15,6 +15,7 @@ class CCRole(commands.Cog): """ def __init__(self, bot: Red): + super().__init__() self.bot = bot self.config = Config.get_conf(self, identifier=9999114111108101) default_guild = {"cmdlist": {}, "settings": {}} @@ -23,12 +24,12 @@ class CCRole(commands.Cog): @commands.guild_only() @commands.group() - async def ccrole(self, ctx): + async def ccrole(self, ctx: commands.Context): """Custom commands management with roles Highly customizable custom commands with role management.""" if not ctx.invoked_subcommand: - pass + await ctx.send_help() @ccrole.command(name="add") @checks.mod_or_permissions(administrator=True)