Remora.Discord
Remora.Discord copied to clipboard
Implement token-scoped cache keys
This PR implements simple scoping for the cache library in order to keep data belonging to different tokens separate.
In its current state, it is not a complete implementation since tokens provided via customizations onto single REST requests will not be picked up, and that mechanism may need some more in-depth changes. Consider this a design suggestion out for comments.
Fixes #257.