This commit is contained in:
neersighted 2012-04-02 13:17:47 -07:00
parent c5dc57dd0a
commit a958266f99

View file

@ -66,6 +66,7 @@ def stop(inp, nick=None, conn=None):
time.sleep(5) time.sleep(5)
os.execl("./cloudbot", "cloudbot", "stop") os.execl("./cloudbot", "cloudbot", "stop")
@hook.command(autohelp=False, adminonly=True) @hook.command(autohelp=False, adminonly=True)
def restart(inp, nick=None, conn=None): def restart(inp, nick=None, conn=None):
".restart [reason] -- Restarts the bot with [reason] as its quit message." ".restart [reason] -- Restarts the bot with [reason] as its quit message."