Add /branch command #1

Merged
InValidFire merged 12 commits from test into main 2022-08-20 16:07:54 +00:00
Showing only changes of commit e31f066fd2 - Show all commits

fix branch subgroup

Riley Housden 2022-08-20 00:51:31 -04:00
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!"