Merge pull request #59 from blha303/develop

Updating .mcstatus to fix colors
This commit is contained in:
Neer Sighted 2013-04-04 13:33:58 -07:00
commit 501f3c8af8

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
for server, status in data.items():
if status == "green":
out.append("{} is \x033\x02online\x02\x03".format(server))
out.append("{} is \x033\x02online\x02\x0f".format(server))
else:
out.append("{} is \x034\x02offline\x02\x03".format(server))
out.append("{} is \x034\x02offline\x02\x0f".format(server))
return ", ".join(out) + "."
return "\x0f" + ", ".join(out) + "."
@hook.command("haspaid")