updated README

This commit is contained in:
Jimmy Cao 2011-07-27 20:16:05 -05:00
parent b62c1045bc
commit e597e3bb7d
2 changed files with 2 additions and 2 deletions

2
README
View File

@ -1,4 +1,4 @@
Use Python 3
Use Python 3.2 (3.1 doesn't work)
configure botconfig.py
configure var.py to modify game settings
run wolfbot.py

View File

@ -1969,7 +1969,7 @@ if botconfig.DEBUG_MODE:
@cmd("set", admin_only=True)
def set(cli, nick, chan, rest):
rest = re(" +",rest, 1)
rest = re.split(" +",rest, 1)
if len(rest) != 2 or not rest[0] or not rest[1]:
cli.msg(chan, "Invalid syntax.")
return