3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00
This commit is contained in:
Luke Slater 2011-10-06 13:20:12 +01:00
parent e4e159b117
commit 301affa7c2

View File

@ -109,6 +109,7 @@ var quotes = function(dbot) {
// For automatic quote retrieval
'listener': function(data, params) {
console.log('test');
if(data.user == 'reality') {
var once = data.message.valMatch(/^I ([\d\w\s,'-]* once)/, 2);
} else {
@ -125,7 +126,6 @@ var quotes = function(dbot) {
},
'on': 'PRIVMSG'
};
};