From 7ea27fb0cb8cb86eeee2fe653f4b8b7ccef9d81e Mon Sep 17 00:00:00 2001 From: AJ Zawawi Date: Fri, 8 Jul 2016 13:35:54 -0400 Subject: [PATCH] Add 'What is the meaning of life' --- commands/meaningOfLife.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 commands/meaningOfLife.js diff --git a/commands/meaningOfLife.js b/commands/meaningOfLife.js new file mode 100644 index 0000000..b45e979 --- /dev/null +++ b/commands/meaningOfLife.js @@ -0,0 +1,7 @@ +'use strict'; + +module.exports = function meaningOfLife(controller) { + controller.hears('meaning of life', ['direct_mention'], function(bot, message) { + bot.reply(message, '42'); + }); +}