Refactor time variable and exclude system users #1

Merged
Leafus merged 2 commits from fsb/misskey-gooner-remover:time_and_exclusions into main 2025-01-20 00:04:18 +01:00
Showing only changes of commit 1c02247714 - Show all commits

View file

@ -63,7 +63,7 @@ async function main() {
!excludedUsers.includes(user.username)
});
console.log(`Found ${usersToDelete.length} users matching criteria (no posts, not updated, and older than 5 days)`);
console.log(`Found ${usersToDelete.length} users matching criteria (no posts, not updated, and older than ${PERIOD} days)`);
console.log('\nUsers to be deleted:');
usersToDelete.forEach(user => {