Change minimum !mp size value from 1 to 2
This commit is contained in:
		@@ -801,8 +801,8 @@ def multiplayer(fro, chan, message):
 | 
				
			|||||||
		return "This match has been unlocked"
 | 
							return "This match has been unlocked"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	def mpSize():
 | 
						def mpSize():
 | 
				
			||||||
		if len(message) < 2 or not message[1].isdigit() or int(message[1]) < 1 or int(message[1]) > 16:
 | 
							if len(message) < 2 or not message[1].isdigit() or int(message[1]) < 2 or int(message[1]) > 16:
 | 
				
			||||||
			raise exceptions.invalidArgumentsException("Wrong syntax: !mp size <slots(1-16)>")
 | 
								raise exceptions.invalidArgumentsException("Wrong syntax: !mp size <slots(2-16)>")
 | 
				
			||||||
		matchSize = int(message[1])
 | 
							matchSize = int(message[1])
 | 
				
			||||||
		_match = glob.matches.matches[getMatchIDFromChannel(chan)]
 | 
							_match = glob.matches.matches[getMatchIDFromChannel(chan)]
 | 
				
			||||||
		for i in range(0, matchSize):
 | 
							for i in range(0, matchSize):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user