fixed triggers for bot (via ame)
This commit is contained in:
parent
ed50bc746c
commit
36e94de95f
|
@ -157,7 +157,7 @@ def main(conn, out):
|
|||
prefix = r'^(?:[' + commandprefix + ']|'
|
||||
|
||||
command_re = prefix + inp.conn.nick
|
||||
command_re += r'[:]+\s+)(\w+)(?:$|\s+)(.*)'
|
||||
command_re += r'[,;:]+\s+)(\w+)(?:$|\s+)(.*)'
|
||||
|
||||
m = re.match(command_re, inp.lastparam)
|
||||
|
||||
|
|
Reference in a new issue