added uptime, but id does not work with hours. will fix later
This commit is contained in:
parent
1a436f87bf
commit
a49009c53c
3 changed files with 20 additions and 7 deletions
|
@ -28,7 +28,7 @@ def stop(inp, nick=None, conn=None):
|
|||
else:
|
||||
conn.cmd("QUIT", ["Killed by %s." % nick])
|
||||
time.sleep(5)
|
||||
subprocess.call(["./cloudbot", "stop"])
|
||||
os.execl(["./cloudbot", "stop"])
|
||||
|
||||
@hook.command(autohelp=False, adminonly=True)
|
||||
def restart(inp, nick=None, conn=None):
|
||||
|
|
Reference in a new issue