From 8ac4450ff7dd056b0b7d99d8649a3cc2faa0cb88 Mon Sep 17 00:00:00 2001 From: blha303 Date: Fri, 5 Apr 2013 03:59:49 +0800 Subject: [PATCH] Removed colors on the non-status text --- plugins/mctools.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/mctools.py b/plugins/mctools.py index 0c1d464..d866988 100755 --- a/plugins/mctools.py +++ b/plugins/mctools.py @@ -76,11 +76,11 @@ 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("{} is \x033\x02online\x02\x033".format(server)) + out.append("{} is \x033\x02online\x02\x0f".format(server)) else: - out.append("{} is \x034\x02offline\x02\x033".format(server)) + out.append("{} is \x034\x02offline\x02\x0f".format(server)) - return "\x033" + ", ".join(out) + "." + return "\x0f" + ", ".join(out) + "." @hook.command("haspaid")