♻️ Moving cached objects to a cache object
For example
# current
Client.guilds
# With cache
Client.cache.guilds
Hikari and Serenity do this. I think it's a much better decision over all since I think it'll simplify storing voice states once we get to that.
I currently am working on this
Instead of just a dictionary, I'm using a custom object which wraps around a deque mainly so I can have a max length (default 100) and automatically remove the oldest item.
I've implemented (locally) guilds and messages. Also this allows the message delete event to find the deleted message (provided that it's in the cache)
🚀 🚀 🚀
Closed due to depreciation, thank you for your effort ♥