.BANCHO. Add lets version in !system status
This commit is contained in:
parent
8078596a0a
commit
e30893d66f
|
@ -360,7 +360,13 @@ def systemStatus(fro, chan, message):
|
|||
data = systemHelper.getSystemInfo()
|
||||
|
||||
# Final message
|
||||
letsVersion = glob.redis.get("lets:version")
|
||||
if letsVersion is None:
|
||||
letsVersion = "\_(xd)_/"
|
||||
else:
|
||||
letsVersion = letsVersion.decode("utf-8")
|
||||
msg = "pep.py bancho server v{}\n".format(glob.VERSION)
|
||||
msg += "LETS scores server v{}\n".format(letsVersion)
|
||||
msg += "made by the Ripple team\n"
|
||||
msg += "\n"
|
||||
msg += "=== BANCHO STATS ===\n"
|
||||
|
|
Loading…
Reference in New Issue
Block a user