mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
meh
This commit is contained in:
parent
c0e8290bba
commit
744e075697
@ -133,9 +133,13 @@ var commands = function(dbot) {
|
||||
return parseInt(a) - parseInt(b);
|
||||
});
|
||||
|
||||
_.each(sTimes, function(time) {
|
||||
//event.reply('[' + moment(parseInt(time)).format('DD/MM/YYYY') + '] ' + items[time]);
|
||||
});
|
||||
if(sTimes.length > 50) {
|
||||
_.each(sTimes, function(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_unban.time == 0 || (latest_unban.time < latest_ban.time)) {
|
||||
|
Loading…
Reference in New Issue
Block a user