From 5c9fa8b8fc927ea7dbf34d4e5633a6c7a8163b8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoffer=20M=C3=BCller=20Madsen?= Date: Mon, 21 Mar 2016 18:07:28 +0100 Subject: [PATCH] refine comments and change emoji --- np-bot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/np-bot.js b/np-bot.js index 161d819..92a3f1c 100644 --- a/np-bot.js +++ b/np-bot.js @@ -55,7 +55,7 @@ controller.hears(["np"],["direct_message","direct_mention","mention","ambient"], console.log("Message was from test channel! Mention counters will not be increased."); } - // Decide what to do + // Decide whether to respond with a problem or consult Johan Botson. if (Math.random() < 0.9) { var index = Math.floor(Math.random() * problems.length); var base_url = "https://en.wikipedia.org/wiki/"; @@ -87,7 +87,7 @@ controller.hears(["np"],["direct_message","direct_mention","mention","ambient"], bot.api.reactions.add({ timestamp: message.ts, channel: message.channel, - name: "mount_fuji", + name: "raised_hands", },function(err, res) { if (err) { bot.botkit.log('Failed to add reaction emoji');