mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 19:52:36 +01:00
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