raku-api-discord icon indicating copy to clipboard operation
raku-api-discord copied to clipboard

Caches don't necessarily work

Open kawaii opened this issue 6 years ago • 2 comments

the API object caches guilds and channels but these don't necessarily work correctly

kawaii avatar Mar 05 '19 13:03 kawaii

We can use https://github.com/lizmat/ObjectCache on the ButReals.

Then we can use the new EVICT behaviour to force a re-fetch if necessary.

This will then just straight up cache everything. Nice.

Altreus avatar Mar 11 '20 11:03 Altreus

Put this back as enhancement because also I think it works OK now.

Altreus avatar Mar 11 '20 11:03 Altreus