mirror of
https://github.com/reality/dbot.git
synced 2024-12-18 08:32:42 +01:00
meant
This commit is contained in:
parent
aa7fc99144
commit
8a959a62b8
@ -24,7 +24,7 @@ var spelling = function(dbot) {
|
|||||||
if(winnerDistance < 3) {
|
if(winnerDistance < 3) {
|
||||||
if(winner !== correction) {
|
if(winner !== correction) {
|
||||||
var fix = last[data.channel][data.user].replace(winner, correction);
|
var fix = last[data.channel][data.user].replace(winner, correction);
|
||||||
dbot.say(data.channel, data.user + ': ' + fix);
|
dbot.say(data.channel, data.user + ' meant: ' + fix);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user