Add /branch command #1

Merged
InValidFire merged 12 commits from test into main 2022-08-20 16:07:54 +00:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit 05acd6e4b0 - Show all commits

View File

@ -138,6 +138,7 @@ async def branch_switch(ctx: lightbulb.Context) -> None:
@lightbulb.command("info", "get bot information such as the version, and repository link.", ephemeral=True)
@lightbulb.implements(lightbulb.SlashCommand)
async def info(ctx: lightbulb.Context) -> None:
await create_subprocess("git", "fetch") # updates with remote
git_status = await get_git_status()
embed = hikari.Embed(title="About Me!")
embed.add_field("Git Repository", config.git_url)