summaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
Diffstat (limited to 'news')
-rwxr-xr-xnews/controller.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/news/controller.py b/news/controller.py
index 7d41fd6f..f9a61e3c 100755
--- a/news/controller.py
+++ b/news/controller.py
@@ -114,6 +114,10 @@ class commands():
output = subprocess.check_output(['./GfindFeeds4bot', args[1]]).decode()
return output
+ def uptime(args):
+ output = subprocess.check_output(['uptime']).decode()
+ return output
+
feedfile = 'new_feeds'
url_shortener = 'http://wall'
init_channels = ['#news']