Member Cache Impl
class MemberCacheImpl(allowedCache: Set<CacheIds>, yde: YDEImpl) : PerpetualCache, MemberCache(source)
Discord's Member do not have a unique ID, so we need to use a combination of the user id
Functions
Link copied to clipboard
Link copied to clipboard
Triggers a thread to clear the entire cache after a certain amount of time
Link copied to clipboard
Triggers a thread to clear a certain cache type after a certain amount of time
Link copied to clipboard
open override fun triggerCacheTypesClear(cacheIds: List<CacheIds>, duration: Duration, repeat: Boolean)
Triggers a thread to clear a list of cache types after a certain amount of time
Link copied to clipboard
updates the member's voice state