Commit 683e6fda authored by Mindiell's avatar Mindiell

Issue #5: wantzel can understand both '!' and '~' as a starting command....

Issue #5: wantzel can understand both '!' and '~' as a starting command. Should remove the '!' later.
parent a2699ac8
...@@ -223,7 +223,7 @@ class Wantzel(object): ...@@ -223,7 +223,7 @@ class Wantzel(object):
if "wantzel" in msg and ("help" in msg or "aide" in msg): if "wantzel" in msg and ("help" in msg or "aide" in msg):
self.help(user, channel, msg) self.help(user, channel, msg)
# Find known command # Find known command
command = re.search("!(rp[acp]*|kill|help|stats|admin)", msg) command = re.search("[!~](rp[acp]*|kill|help|stats|admin)", msg)
Utils.debug("Command: %s" % command) Utils.debug("Command: %s" % command)
if command: if command:
Utils.debug("group(0): %s" % command.group(0)) Utils.debug("group(0): %s" % command.group(0))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment