From d1f0b59b5d8ae161688fbc2bbab564764c422e64 Mon Sep 17 00:00:00 2001 From: Michael H Date: Mon, 25 Jun 2018 07:33:36 -0400 Subject: [PATCH] [V3] Verify checks for command groups (#1882) --- redbot/core/commands/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redbot/core/commands/commands.py b/redbot/core/commands/commands.py index de6bb77a5..b9e7a67c8 100644 --- a/redbot/core/commands/commands.py +++ b/redbot/core/commands/commands.py @@ -141,7 +141,6 @@ class Group(Command, commands.Group): super().__init__(*args, **kwargs) async def invoke(self, ctx): - view = ctx.view previous = view.index view.skip_ws() @@ -154,6 +153,7 @@ class Group(Command, commands.Group): if ctx.invoked_subcommand is None or self == ctx.invoked_subcommand: if self.autohelp and not self.invoke_without_command: + await self._verify_checks(ctx) await ctx.send_help() await super().invoke(ctx)