From d3d2454af59e7a0dc018438f60f85d3e7f20fb0c Mon Sep 17 00:00:00 2001 From: Siphalor Date: Fri, 12 Mar 2021 14:43:01 +0100 Subject: [PATCH] Fix access for groups command --- bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot.py b/bot.py index 209bc73..d2f1ef8 100644 --- a/bot.py +++ b/bot.py @@ -352,6 +352,7 @@ async def group_command(ctx: commands.Context, subcommand: Optional[str], arg: O members: commands.Greedy[discord.Member]): if not ctx.author.guild_permissions.manage_roles: await ctx.send("Access denied!") + return if subcommand is None: await ctx.send("Available commands: `list`, `create`, `archive`") return