3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00
This commit is contained in:
reality 2015-04-25 11:05:03 +00:00
parent c0e8290bba
commit 744e075697

View File

@ -133,9 +133,13 @@ var commands = function(dbot) {
return parseInt(a) - parseInt(b); return parseInt(a) - parseInt(b);
}); });
if(sTimes.length > 50) {
_.each(sTimes, function(time) { _.each(sTimes, function(time) {
//event.reply('[' + moment(parseInt(time)).format('DD/MM/YYYY') + '] ' + items[time]); event.reply('[' + moment(parseInt(time)).format('DD/MM/YYYY') + '] ' + items[time]);
}); });
} else {
event.reply('There are too many to show without killing everyone :S');
}
if(latest_ban.time != 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)) {