Removed colors on the non-status text

This commit is contained in:
blha303 2013-04-05 03:59:49 +08:00
parent dce3c35424
commit 8ac4450ff7

View file

@ -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 # use a loop so we don't have to update it if they add more servers
for server, status in data.items(): for server, status in data.items():
if status == "green": if status == "green":
out.append("{} is \x033\x02online\x02\x033".format(server)) out.append("{} is \x033\x02online\x02\x0f".format(server))
else: 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") @hook.command("haspaid")