forwards-long-jump / discotron

Modular Discord bot supporting plugins hosted on git repositories
MIT License
3 stars 5 forks source link

Discord API down-detection #52

Closed RedMser closed 5 years ago

RedMser commented 5 years ago

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).

RedMser commented 5 years ago

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.