From 19442bfe8f0dc64ca8d7b675d1c27613ba15aa02 Mon Sep 17 00:00:00 2001 From: reality Date: Thu, 23 Apr 2015 15:18:28 +0000 Subject: [PATCH] typical --- modules/food/food.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/food/food.js b/modules/food/food.js index 6756f50..0cb5572 100644 --- a/modules/food/food.js +++ b/modules/food/food.js @@ -33,7 +33,7 @@ var food = function(dbot) { this.commands['~recipe'].regex = [/^recipe (.+)$/, 2]; this.listener = function(event) { - var match = event.message.match(new RegExp(dbot.config.name + ': what should i (have|eat|make)\\??( for dinner)?\\??', 'i')); + var match = event.message.match(new RegExp(dbot.config.name + ': what should i (have|eat|make)\\??( for (dinner|lunch|breakfast))?\\??', 'i')); if(match) { request.get('http://food2fork.com/api/search', { 'qs': {