! Lixqa
DIAdiscord.js - Imagine an app
•Created by ! Lixqa on 6/4/2023 in #djs-questions
cache expires?
Hi i have a feature in my bot that runs in a interval every 30min. Its something like that:
guild.roles.cache.get(....).memberCount
But i noticed, that always after ~2 days the role and memberCount becomes null.
Does the cache expire? Or am i just dumb?
21 replies