Better user-facing errors for Interactions #4041
-
The ProblemWith Discord pushing toward the use of interactions, I think a major pain-point for both developers and end users is the non-descriptive errors displayed in the client when the interaction fails. End users often get frustrated when encountering an error, and that frustration is directed to the bot developer. However, many of these errors may not be the developer's fault, and it can be hard to diagnose when the only info provided to the user is "This interaction failed" Listed below in no particular order are a few of the issues I have encountered myself, or seen the community encounter. This is not an exhaustive list. Failing to ACK/reply within 3 seconds
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 12 replies
-
Plus one for displaying min/max values in numerical option range errors - this was the very first thing I noticed as a user of my own bot and it felt like it would have been an obvious thing to include from the get-go. As it stands, us developers have to put the range information in our option descriptions, which isn't particularly great. Ideally any numerical options with a min_value and/or max_value would show that on the option as it's in the menu / selected. |
Beta Was this translation helpful? Give feedback.
-
With respect to updated commands - no longer needlessly updating command versions on Bulk Update would help a lot. |
Beta Was this translation helpful? Give feedback.
-
Latest Q&A (summary here) the developers mentioned they will be doing a pass to make the errors received on interactions more user friendly. No word on when that will be but I'm glad to see that they are aware of it and intent to address it. |
Beta Was this translation helpful? Give feedback.
-
This has been done for Desktop/iOS and should be available on canary shortly |
Beta Was this translation helpful? Give feedback.
-
This is done on Desktop/iOS and is on stable |
Beta Was this translation helpful? Give feedback.
-
A new error message for outdated commands sent by clients will be released shortly |
Beta Was this translation helpful? Give feedback.
-
As the errors mentioned in this discussion have all been improved, I'm going to be closing it. I want to say thank you to all the discord devs involved in improving the error messages, we all really appreciate it! |
Beta Was this translation helpful? Give feedback.
As the errors mentioned in this discussion have all been improved, I'm going to be closing it. I want to say thank you to all the discord devs involved in improving the error messages, we all really appreciate it!