From 05acd6e4b09656c6f9d26fe3f9dae3fc23c4e74a Mon Sep 17 00:00:00 2001 From: Riley Housden Date: Sat, 20 Aug 2022 01:22:42 -0400 Subject: [PATCH] add git fetch before info is gathered --- ext/system.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/system.py b/ext/system.py index 8541f13..5e14498 100644 --- a/ext/system.py +++ b/ext/system.py @@ -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)