From 6f2226b4cc03ff25502c68879191bcbaeca67b82 Mon Sep 17 00:00:00 2001 From: puffrfish Date: Tue, 28 Aug 2012 02:53:20 -0300 Subject: [PATCH] Added color to mcstatus --- plugins/mctools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mctools.py b/plugins/mctools.py index 9e56c1b..3ac3eb1 100755 --- a/plugins/mctools.py +++ b/plugins/mctools.py @@ -54,9 +54,9 @@ def mcstatus(inp, say=None): # use a loop so we don't have to update it if they add more servers for server, status in data.items(): if status == "green": - out.append("%s is \x02online\x02" % server) + out.append("%s is \x033\x02online\x02\x03" % server) else: - out.append("%s is \x02offline\x02" % server) + out.append("%s is \x034\x02offline\x02\x03" % server) return ", ".join(out) + "."