@live-apps/discord
is a npm package that provides shared caching, rate limiting, and event de-duplication among multiple instances of an application that may be running on different containers or pods. These features are dependent on Redis.
This package relies on discord.js
npm package only for socket events and not for any other data fetching or communication. At its initial stage, this API may not cover all Discord endpoints, but it may do so in the future.
This npm package was developed specifically for kitty-chan-events
and kitty-chan-domain
microservice, which can be found at https://github.com/live-apps-in
Please note that the @live-apps/discord
npm package does not currently support local app cache
. It is fully dependent on Redis. We may add local app cache support if required for any of the features. If you want to use app cache for your Discord bot, you can try using the discord.js
npm library, a powerful one on which this current library is built.