mirror of
https://github.com/reality/dbot.git
synced 2024-11-30 16:09:27 +01:00
in days
This commit is contained in:
parent
028f56c289
commit
b54774994b
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user