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