remoced lib, trying to fix .restart, .quit, and .clear
This commit is contained in:
parent
55d2aa65bb
commit
f6dff101f4
4 changed files with 3 additions and 34 deletions
13
lib/clear.py
13
lib/clear.py
|
@ -1,13 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
# Tiny little log clearer by neersighted
|
||||
import sys
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
if os.path.isfile("./cloudbot"):
|
||||
clear = "./cloudbot clear"
|
||||
else:
|
||||
clear = ":"
|
||||
|
||||
subprocess.call(clear, shell=True)
|
||||
sys.exit()
|
|
@ -1,9 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
# Tiny little restarter by neersighted
|
||||
import sys
|
||||
import subprocess
|
||||
|
||||
restart = "./cloudbot restart"
|
||||
|
||||
subprocess.call(restart, shell=True)
|
||||
sys.exit()
|
|
@ -1,9 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
# Tiny little stoper by neersighted
|
||||
import sys
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
stop = "./cloudbot stop"
|
||||
subprocess.call(stop, shell=True)
|
||||
sys.exit()
|
Reference in a new issue