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': {