fixed typo in update

This commit is contained in:
phixxy 2024-01-27 21:17:50 -08:00
parent 090b2d4b85
commit 36c62f9ee3

View file

@ -48,7 +48,7 @@ class Admin(commands.Cog):
) )
async def update(self, ctx): async def update(self, ctx):
if ctx.author.id in self.admin_ids: if ctx.author.id in self.admin_ids:
self.bot.logger.info(f"Reset command ran by {ctx.author.id}") self.bot.logger.info(f"Update command ran by {ctx.author.id}")
output = subprocess.run(["git","pull"],capture_output=True) output = subprocess.run(["git","pull"],capture_output=True)
if output.stderr: if output.stderr:
await ctx.send("Update Attempted") await ctx.send("Update Attempted")