From ae18b594c97782cc201ffa365f12064831b1ec93 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Thu, 11 Jan 2024 20:42:57 -0500 Subject: Handle stickers, properly handle exceptions in threads --- deps/discord-haskell/docs/cache.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'deps/discord-haskell/docs') diff --git a/deps/discord-haskell/docs/cache.md b/deps/discord-haskell/docs/cache.md index c3f91b5..5303f88 100644 --- a/deps/discord-haskell/docs/cache.md +++ b/deps/discord-haskell/docs/cache.md @@ -1,7 +1,11 @@ ### Cache -The cache (`readCache`) is currently deprecated. +The cache (`readCache`) is a work in progress. -It's capable of working, but the code to update is not written. +The CurrentUser and Application fields are filled before the onStart handler is called. + +Other fields are not filled in by default. If `RunDiscordOpts.discordEnableCache` is `true` then they will be filled in as the gateay receives events. + +No rest requests are cached (yet, WIP). Current source code is at [Discord.Internal.Gateway.Cache](../src/Discord/Internal/Gateway/Cache.hs) -- cgit v1.2.3