Updated scheduler to check bans once a day.

This commit is contained in:
rainbow napkin 2024-11-29 15:43:41 -05:00
parent 8fc699924e
commit 2b52fe7f2f
2 changed files with 1 additions and 2 deletions

View file

@ -215,7 +215,6 @@ userBanSchema.statics.processExpiredBans = async function(){
banDB.forEach(async (ban) => {
//This ban was already processed, and it's user has been deleted. There is no more to be done...
if(ban.user == null){
console.log(ban);
return;
}