Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #59 from blha303/develop

Updating .mcstatus to fix colors
  • Loading branch information...
commit 501f3c8af89f7d9be688eb56cccabc2b8179dddd 2 parents 6516cac + 8ac4450
Neer Sighted authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 plugins/mctools.py
6 plugins/mctools.py
View
@@ -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")
Please sign in to comment.
Something went wrong with that request. Please try again.