Fixed a thing!

This commit is contained in:
NikolajDanger
2020-04-03 16:04:36 +02:00
parent 0ec9470c18
commit c0795671ce
2 changed files with 2 additions and 2 deletions

View File

@ -236,7 +236,7 @@ def parseRoll(user : str,cmd : str = ""):
cmd = re.sub(' +',' ',cmd.upper()) + " "
if cmd[0] == " ":
cmd = cmd[1:]
cmd = swchar.replaceSpaces(cmd.capitalize())
cmd = swchar.replaceSpaces(string.capwords(cmd))
commands = cmd.split(" ")
if commands[0] == "":
rollParameters = [1,0,3,0,0,0,0]