discord-mods-bot icon indicating copy to clipboard operation
discord-mods-bot copied to clipboard

performing http requests should signal to the user when the requests time out / are otherwise unavailable

Open tinaun opened this issue 4 years ago • 3 comments

for example, play.rust-lang.org is down for me as i write this, but when i call the ?eval or ?play commands, there's no user visible feedback that the bot tried to make an http request and failed (it gets logged as an error, but it's not communicated to the end user in any way). without a bot response, the user may think that either the bot is broken or their command syntax is wrong.

ideally, this should be done at a high level and individual commands should be able to make http requests whenever without having to explicitly handle returning a message response to the user on a timeout

tinaun avatar Nov 16 '20 05:11 tinaun

This is a subset of #17

kangalio avatar Feb 01 '21 05:02 kangalio

This is a subset of #17

Kinda, error reporting is not uniform across the bot.

technetos avatar Feb 01 '21 14:02 technetos

That said, I agree that this is an error that can be covered by #17. The centralized error handling can match on the error, censoring ones that don't match safe-to-show errors.

khionu avatar Feb 01 '21 14:02 khionu