We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e62da4a commit 7385d2eCopy full SHA for 7385d2e
1 file changed
plugins/minecraft_status.py
@@ -32,17 +32,15 @@ def mcstatus():
32
33
if green:
34
green.sort()
35
- out = "\x033\x02Online\x02\x0f: " + ", ".join(green)
36
- if yellow:
37
- out += " "
+ out.append("\x02Online\x02: " + ", ".join(green))
38
if yellow:
39
yellow.sort()
40
- out += "\x02Issues\x02: " + ", ".join(yellow)
41
- if red:
42
+ out.append("\x02Issues\x02: " + ", ".join(yellow))
43
if red:
44
red.sort()
45
- out += "\x034\x02Offline\x02\x0f: " + ", ".join(red)
+ out.append("\x02Offline\x02: " + ", ".join(red))
+
+ out = " ".join(out)
46
47
return "\x0f" + out.replace(".mojang.com", ".mj") \
48
.replace(".minecraft.net", ".mc")
0 commit comments