.BANCHO. Add lets version in !system status
This commit is contained in:
		@@ -360,7 +360,13 @@ def systemStatus(fro, chan, message):
 | 
				
			|||||||
	data = systemHelper.getSystemInfo()
 | 
						data = systemHelper.getSystemInfo()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	# Final message
 | 
						# 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 = "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 += "made by the Ripple team\n"
 | 
				
			||||||
	msg += "\n"
 | 
						msg += "\n"
 | 
				
			||||||
	msg += "=== BANCHO STATS ===\n"
 | 
						msg += "=== BANCHO STATS ===\n"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user