From 431266136c38cdd0971cca846a8cf84cffdedc88 Mon Sep 17 00:00:00 2001 From: reality Date: Fri, 29 Jan 2016 17:56:38 +0000 Subject: [PATCH] sustatus thing --- modules/report/commands.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/report/commands.js b/modules/report/commands.js index 372f1d9..3478ee3 100644 --- a/modules/report/commands.js +++ b/modules/report/commands.js @@ -141,25 +141,24 @@ var commands = function(dbot) { event.reply('[reports]'); _.each(sTimes, function(time) { if(items[time].type == 'report') { - event.reply('[' + moment(parseInt(time)).format('DD/MM/YYYY') + '] ' + items[time]); } }); event.reply('[quiets]'); _.each(sTimes, function(time) { if(items[time].type == 'quiet') { - event.reply('[' + moment(parseInt(time)).format('DD/MM/YYYY') + '] ' + items[time]); + event.reply('[' + moment(parseInt(time)).format('DD/MM/YYYY') + '] ' + items[time].message); } }); event.reply('[warns]'); _.each(sTimes, function(time) { if(items[time].type == 'warn') { - event.reply('[' + moment(parseInt(time)).format('DD/MM/YYYY') + '] ' + items[time]); + event.reply('[' + moment(parseInt(time)).format('DD/MM/YYYY') + '] ' + items[time].message); } }); event.reply('[bans]'); _.each(sTimes, function(time) { if(items[time].type == 'ban' || items[time].type == 'unban') { - event.reply('[' + moment(parseInt(time)).format('DD/MM/YYYY') + '] ' + items[time]); + event.reply('[' + moment(parseInt(time)).format('DD/MM/YYYY') + '] ' + items[time].message); } }); } else {