fixed typo in update
This commit is contained in:
parent
090b2d4b85
commit
36c62f9ee3
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue