From e31f066fd26d4eb7921f71222b5fc4d115ac61ad Mon Sep 17 00:00:00 2001 From: Riley Housden Date: Sat, 20 Aug 2022 00:51:31 -0400 Subject: [PATCH] fix branch subgroup --- ext/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/system.py b/ext/system.py index ff6cc0e..5932f6c 100644 --- a/ext/system.py +++ b/ext/system.py @@ -121,7 +121,7 @@ async def branch(ctx: lightbulb.Context) -> None: @branch.child @lightbulb.option("name", "name of the branch", type=str, required=True) @lightbulb.command("switch", "switch branches") -@lightbulb.implements(lightbulb.SlashCommand) +@lightbulb.implements(lightbulb.SlashSubGroup) async def switch(ctx: lightbulb.Context) -> None: embed = hikari.Embed(title="Restarting", description="Restarting to switch branches!"