The main issue is that DiscordJS does not handle down-detection itself (any API call will be attempted, and times out). Those calls have NOT been picked out and fixed in this PR yet, because we have to worry about the caching design first.
We have to manually periodically check for discord API status, and update the dashboard UI when we are available again (and allow API calls to be outgoing again).
We are planning to design this differently - it should not be required by anyone (neither by internal client/server code, nor by plugins) to place ifs for every API call. Closing for now.
Fix #7
The main issue is that DiscordJS does not handle down-detection itself (any API call will be attempted, and times out). Those calls have NOT been picked out and fixed in this PR yet, because we have to worry about the caching design first.
We have to manually periodically check for discord API status, and update the dashboard UI when we are available again (and allow API calls to be outgoing again).