diff --git a/README b/README index 684c821..dcdbea8 100644 --- a/README +++ b/README @@ -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 diff --git a/wolfgame.py b/wolfgame.py index 4977a32..afb653d 100644 --- a/wolfgame.py +++ b/wolfgame.py @@ -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