Skip to content

Commit

Permalink
Shorter version of uptime question.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alefas committed Feb 11, 2016
1 parent 8e143ed commit ecc810e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ controller.hears(['uptime'],'direct_message,direct_mention,mention',function(bot
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 + "." +
"Host time " + new Date().getHours() + ":" + new Date().getMinutes());
bot.reply(message,'I have been running for ' + uptime + ' on ' + hostname + ". " +
"Host time: " + new Date().toString());

});

Expand Down

0 comments on commit ecc810e

Please sign in to comment.