Removed colors on the non-status text
This commit is contained in:
parent
dce3c35424
commit
8ac4450ff7
1 changed files with 3 additions and 3 deletions
|
@ -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")
|
||||||
|
|
Reference in a new issue