Merge branch 'develop' of github.com:ClouDev/CloudBot into develop
This commit is contained in:
commit
56a656f691
1 changed files with 2 additions and 2 deletions
|
@ -54,9 +54,9 @@ 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("%s is \x02online\x02" % server)
|
out.append("%s is \x033\x02online\x02\x03" % server)
|
||||||
else:
|
else:
|
||||||
out.append("%s is \x02offline\x02" % server)
|
out.append("%s is \x034\x02offline\x02\x03" % server)
|
||||||
|
|
||||||
return ", ".join(out) + "."
|
return ", ".join(out) + "."
|
||||||
|
|
||||||
|
|
Reference in a new issue