mirror of
https://github.com/reality/dbot.git
synced 2025-02-21 07:50:46 +01:00
b& for 45 years
This commit is contained in:
parent
ce149998d8
commit
0dac6bd576
@ -132,7 +132,7 @@ var commands = function(dbot) {
|
|||||||
console.log('[' + moment(parseInt(time)).format('DD/MM/YYYY') + '] ' + items[time]);
|
console.log('[' + moment(parseInt(time)).format('DD/MM/YYYY') + '] ' + items[time]);
|
||||||
});
|
});
|
||||||
|
|
||||||
if(latest_ban != 0) {
|
if(latest_ban.time != 0) {
|
||||||
if(latest_unban.time == 0 || (latest_unban.time < latest_ban.time)) {
|
if(latest_unban.time == 0 || (latest_unban.time < latest_ban.time)) {
|
||||||
event.reply('Current Ban Status: Banned since ' + moment(latest_ban.time).fromNow() + ' (since ' + moment(parseInt(latest_ban.time)).format('DD/MM/YYYY') + ')');
|
event.reply('Current Ban Status: Banned since ' + moment(latest_ban.time).fromNow() + ' (since ' + moment(parseInt(latest_ban.time)).format('DD/MM/YYYY') + ')');
|
||||||
event.reply('Reason: ' + latest_ban.message);
|
event.reply('Reason: ' + latest_ban.message);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user