3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-30 16:09:27 +01:00
This commit is contained in:
reality 2015-03-14 14:00:56 +00:00
parent 028f56c289
commit b54774994b

View File

@ -139,7 +139,7 @@ var commands = function(dbot) {
} else {
var a = moment(latest_ban.time);
var b = moment(latest_unban.time);
event.reply('Current Ban Status: \u00037Unbanned\u000f since ' + moment(parseInt(latest_unban.time)).format('DD/MM/YYYY') + ' after being banned for ' + a.diff(b, 'days'));
event.reply('Current Ban Status: \u00037Unbanned\u000f since ' + moment(parseInt(latest_unban.time)).format('DD/MM/YYYY') + ' after being banned for ' + b.diff(a, 'days') + ' days');
event.reply('Most recent ban reason: ' + latest_ban.message);
}
} else {