forked from GitHub/dbot
fixed the regex on ~newpoll
This commit is contained in:
parent
66554605e7
commit
30cd5d499d
@ -58,7 +58,7 @@ var poll = function(dbot) {
|
||||
|
||||
}
|
||||
};
|
||||
commands['~newpoll'].regex = [/~newpoll ([^ ]+) \[options=(\[^ ]+)\] (.+)/, 4];
|
||||
commands['~newpoll'].regex = [/~newpoll ([^ ]+) \[options=([^ ]+)\] (.+)/, 4];
|
||||
commands['~vote'].regex = [/~vote ([\d\w\s-]+?)[ ]?=[ ]?(.+)$/, 3];
|
||||
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user