fix branch subgroup
This commit is contained in:
parent
7307aafaff
commit
e31f066fd2
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ async def branch(ctx: lightbulb.Context) -> None:
|
||||||
@branch.child
|
@branch.child
|
||||||
@lightbulb.option("name", "name of the branch", type=str, required=True)
|
@lightbulb.option("name", "name of the branch", type=str, required=True)
|
||||||
@lightbulb.command("switch", "switch branches")
|
@lightbulb.command("switch", "switch branches")
|
||||||
@lightbulb.implements(lightbulb.SlashCommand)
|
@lightbulb.implements(lightbulb.SlashSubGroup)
|
||||||
async def switch(ctx: lightbulb.Context) -> None:
|
async def switch(ctx: lightbulb.Context) -> None:
|
||||||
embed = hikari.Embed(title="Restarting",
|
embed = hikari.Embed(title="Restarting",
|
||||||
description="Restarting to switch branches!"
|
description="Restarting to switch branches!"
|
||||||
|
|
Loading…
Reference in a new issue