discord-slash-commands icon indicating copy to clipboard operation
discord-slash-commands copied to clipboard

[FEAT] Proper handling/throwing of Errors

Open DonovanDMC opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. It's annoying that there's next to no indication that creation has succeeded if you aren't looking at the response (like I wasn't), and the typings don't indicate that a rate limit object can be returned.

Describe the solution you'd like Either add the rate limit object to the typings, and make it known it can be returned, or (what I would personally prefer) throw an error when you get ratelimited. (check status code & body)

Describe alternatives you've considered None.

Additional context

DonovanDMC avatar Apr 23 '21 20:04 DonovanDMC