3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00

add time to ~concerning

This commit is contained in:
reality 2015-07-17 22:52:35 +00:00
parent 7fcd277815
commit fd0d3829d8

View File

@ -340,7 +340,7 @@ var commands = function(dbot) {
}, function() { }, function() {
event.reply(nick + ' has sought help ' + results.length + ' times under the host ' + host + ' or nick ' + nick); event.reply(nick + ' has sought help ' + results.length + ' times under the host ' + host + ' or nick ' + nick);
_.each(results, function(n) { _.each(results, function(n) {
event.reply('[' + moment(parseInt(n.time)).format('DD/MM/YYYY') + '][' + n.user.split('.')[0] + '] ' + n.message); event.reply('[' + moment(parseInt(n.time)).format('DD/MM/YYYY HH:mm:ss') + '][' + n.user.split('.')[0] + '] ' + n.message);
}); });
}); });
} else { } else {