fix branch subgroup

This commit is contained in:
Riley Housden 2022-08-20 00:51:31 -04:00
parent 7307aafaff
commit e31f066fd2
Signed by: InValidFire
GPG key ID: 0D6208F6DF56B4D8

View file

@ -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!"