Allow Discord bots to set backup interaction endpoint. #4350
-
Let's assume the Discord bot gateway ceased working at 9:30 a.m.; perhaps Discord is having trouble connecting to the gateway. Bots would be unable to receive commands from the gateway, so I believe a fallback interaction endpoint would be a good method to prevent this. If your bot isn't connected to the gateway, you might make interactions a backup option through the Discord Developer Portal. This could increase my bot's uptime, and my users will be unaware that there is an outage because my bot will continue to function normally. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
If Discord goes down to the point where you can't connect, then users wouldn't be able to connect either, no? There simply wouldn't be any commands to serve. |
Beta Was this translation helpful? Give feedback.
-
If you have support built for it, why aren't your interactions REST already? Discord built this system with the gateway pain points in mind. Furthermore, the cases where Discord goes down only for bots and not for users aswell are so rare that it just doesn't make sense to have a backup in place. If you want commands to be more reliable, just use REST as the default. It's a dedicated service for bots and will probably prove itself as the more reliable option (to us, it already has). |
Beta Was this translation helpful? Give feedback.
If you have support built for it, why aren't your interactions REST already? Discord built this system with the gateway pain points in mind. Furthermore, the cases where Discord goes down only for bots and not for users aswell are so rare that it just doesn't make sense to have a backup in place.
If you want commands to be more reliable, just use REST as the default. It's a dedicated service for bots and will probably prove itself as the more reliable option (to us, it already has).