summaryrefslogtreecommitdiff
path: root/deps/discord-haskell/docs
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2024-01-11 20:42:57 -0500
committerLLLL Colonq <llll@colonq>2024-01-11 20:42:57 -0500
commitae18b594c97782cc201ffa365f12064831b1ec93 (patch)
tree5570a7f8ab15a113f332839b900c2c47444e7314 /deps/discord-haskell/docs
parent0be357bb60a2bc4523056aba34add78b715211f5 (diff)
Handle stickers, properly handle exceptions in threads
Diffstat (limited to 'deps/discord-haskell/docs')
-rw-r--r--deps/discord-haskell/docs/cache.md8
1 files changed, 6 insertions, 2 deletions
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)