Added clearer language to update function
This commit is contained in:
parent
a8f919d1c6
commit
659dd96e34
1 changed files with 1 additions and 1 deletions
|
|
@ -380,7 +380,7 @@ async def update(ctx):
|
||||||
if ctx.author.id == 242018983241318410:
|
if ctx.author.id == 242018983241318410:
|
||||||
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 Failed")
|
await ctx.send("Update Attempted")
|
||||||
await ctx.send(output.stderr.decode('utf-8'))
|
await ctx.send(output.stderr.decode('utf-8'))
|
||||||
else:
|
else:
|
||||||
await ctx.send(output.stdout.decode('utf-8'))
|
await ctx.send(output.stdout.decode('utf-8'))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue