Anders Øen Fylling
Anders Øen Fylling
That would be beneficial indeed. However, it also becomes a question about logging messages and for how long?
Or do you mean updates of any objects?
I've been thinking about using a lib for caching. It adds so many benefits like customization, community updates, etc. And just put it behind a simple interface, so people can...
I'm thinking that maybe adding a new function signature for this would allow disgord to figure out whether or not this is needed. As I don't see a way to...
This should be easy to implement with the new cache.
Yes, but they should be cached.
https://github.com/andersfylling/disgord/commit/34f1433143fa2504807732525cfe86bb8425071a
Yeah fair point
That sound like a good point, which is also why I'm considering it. I'm just unaware of the current practice. I also wonder if adding context to middlewares would be...
REST requests now uses httd.ErrREST that holds the Discord error code and Discord message, among the http code and a DisGord description of the situation. See commit [9812e2c](https://github.com/andersfylling/disgord/commit/9812e2cd2968de1d86b296f2e69c710739a33dbd)