From c1afb76b6c9edd2d4918bb5de67b560da01016bc Mon Sep 17 00:00:00 2001 From: Ben Brown Date: Mon, 19 Jun 2017 17:12:10 -0500 Subject: [PATCH] Fixes to console bot --- examples/console_bot.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/console_bot.js b/examples/console_bot.js index d36d8d4dd..6f6b38e7a 100644 --- a/examples/console_bot.js +++ b/examples/console_bot.js @@ -189,14 +189,13 @@ controller.hears(['shutdown'], 'message_received', function(bot, message) { controller.hears(['uptime', 'identify yourself', 'who are you', 'what is your name'], - 'direct_message,direct_mention,mention', function(bot, message) { + 'message_received', function(bot, message) { var hostname = os.hostname(); var uptime = formatUptime(process.uptime()); bot.reply(message, - ':robot_face: I am a bot named <@' + bot.identity.name + - '>. I have been running for ' + uptime + ' on ' + hostname + '.'); + ':robot_face: I am ConsoleBot. I have been running for ' + uptime + ' on ' + hostname + '.'); });