Expand description
Cache module for guild channels.
This module provides caching functionality for guild channels using moka cache. It includes two caches:
GUILD_CHANNEL_LIST_CACHE: Caches the list of channels for each guild.GUILD_CHANNEL_CACHE: Caches individual guild channels.
The CacheArgs struct is used to retrieve channels from the cache or fetch them from the API if not found.
Structs§
- Cache
Args - Arguments for cache operations.
Statics§
- GUILD_
CHANNEL_ CACHE - Cache for individual guild channels.
- GUILD_
CHANNEL_ LIST_ CACHE - Cache for guild channel lists.