mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 22:39:26 +01:00
apostrophes bitches
This commit is contained in:
parent
bfc3e4546b
commit
2fd09aa3f9
@ -36,8 +36,8 @@ var spelling = function(dbot) {
|
||||
|
||||
return {
|
||||
'listener': function(data, params) {
|
||||
var q = data.message.valMatch(/^\*\*?([\d\w\s]*)$/, 2);
|
||||
var otherQ = data.message.valMatch(/^([\d\w\s]*): \*\*?([\d\w\s]*)$/, 3);
|
||||
var q = data.message.valMatch(/^\*\*?([\d\w\s']*)$/, 2);
|
||||
var otherQ = data.message.valMatch(/^([\d\w\s]*): \*\*?([\d\w\s']*)$/, 3);
|
||||
if(q) {
|
||||
correct(data, q[1], data.user, function (e) {
|
||||
dbot.say(data.channel, e.correcter + ' meant: ' + e.fix);
|
||||
|
Loading…
Reference in New Issue
Block a user