Help with Understanding Cache Sweepers

So if I set the interval for a sweeper to every hour, after an hour of my bot being online, if I'm using the users sweeper, it just nukes all the users in cache? Or does it only nuke users that are an hour old in cache? Or something else? 🤔
3 Replies
d.js toolkit
d.js toolkit•13mo ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
dzlandis
dzlandis•13mo ago
Mostly asking so I can understand how I can most effectively use the voiceStates sweeper without breaking things with my bot.
d.js docs
d.js docs•13mo ago
interface SweeperOptions Options for Sweepers defining the behavior of cache sweeping