mirror of
https://github.com/reality/dbot.git
synced 2024-12-26 12:42:51 +01:00
i am not wise
This commit is contained in:
parent
16e9b2d9bd
commit
bcdf86d7ff
@ -114,7 +114,7 @@ var words = function(dbot) {
|
|||||||
this.listener = function(event) {
|
this.listener = function(event) {
|
||||||
var matchOne = event.message.match(new RegExp(dbot.config.name + ': should (\\w+) (.+) or (.*)\\?', 'i'));
|
var matchOne = event.message.match(new RegExp(dbot.config.name + ': should (\\w+) (.+) or (.*)\\?', 'i'));
|
||||||
if(matchOne) {
|
if(matchOne) {
|
||||||
var pre = matcOneh[1];
|
var pre = matchOne[1];
|
||||||
if(pre == 'i' || pre == 'I') {
|
if(pre == 'i' || pre == 'I') {
|
||||||
pre = 'You';
|
pre = 'You';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user