mirror of
https://github.com/reality/dbot.git
synced 2024-11-24 04:49:25 +01:00
qsearch
This commit is contained in:
parent
cf2273aafa
commit
1f4c3fec8f
@ -20,7 +20,7 @@ var quotes = function(dbot) {
|
|||||||
if(params[2] === undefined) {
|
if(params[2] === undefined) {
|
||||||
dbot.say(data.channel, 'Next time provide a search parameter. Commence incineration.');
|
dbot.say(data.channel, 'Next time provide a search parameter. Commence incineration.');
|
||||||
} else {
|
} else {
|
||||||
if(!quote.hasOwnProperty(params[1])) {
|
if(!quotes.hasOwnProperty(params[1])) {
|
||||||
dbot.say(data.channel, 'That category has no quotes in it. Commence incineration.');
|
dbot.say(data.channel, 'That category has no quotes in it. Commence incineration.');
|
||||||
} else {
|
} else {
|
||||||
var matches = [];
|
var matches = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user