mirror of
https://github.com/reality/dbot.git
synced 2024-11-30 16:09:27 +01:00
debug
This commit is contained in:
parent
4e4da78e0b
commit
b3d7abbc3b
@ -114,7 +114,7 @@ var commands = function(dbot) {
|
|||||||
event.reply(user.primaryNick + ' has been warned ' + warn + ' times, quieted ' + quiet + ' times, and reported ' + report + ' times.');
|
event.reply(user.primaryNick + ' has been warned ' + warn + ' times, quieted ' + quiet + ' times, and reported ' + report + ' times.');
|
||||||
|
|
||||||
_.each(_.keys(items).sort(function(a, b) {
|
_.each(_.keys(items).sort(function(a, b) {
|
||||||
return parseInt(new Date(a).getTime()) - parseInt(new Date(b).getTime());
|
return moment(a).unix() - moment(b).unix();
|
||||||
}), function(time) {
|
}), function(time) {
|
||||||
event.reply('[' + moment(parseInt(time)).format('DD/MM/YYYY') + '] ' + items[time]);
|
event.reply('[' + moment(parseInt(time)).format('DD/MM/YYYY') + '] ' + items[time]);
|
||||||
console.log('[' + moment(parseInt(time)).format('DD/MM/YYYY') + '] ' + items[time]);
|
console.log('[' + moment(parseInt(time)).format('DD/MM/YYYY') + '] ' + items[time]);
|
||||||
|
Loading…
Reference in New Issue
Block a user