You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using .say to send a message to a channel, the returned Promise is not rejected correctly when hitting a rate limit. Please also see this related issue on NOTICE/MSG_RATELIMIT.
Describe the bug
When using
.say
to send a message to a channel, the returned Promise is not rejected correctly when hitting a rate limit. Please also see this related issue onNOTICE/MSG_RATELIMIT
.CodeSandbox reproduction
https://codesandbox.io/s/focused-leftpad-y2p5mt?file=/src/index.js
Expected behavior
The Promise returned by
chat.say()
should be rejected when aNOTICE/MSG_RATELIMIT
is received for the channel the message was sent in.Screenshots
No screenshots.
Environment (please complete the following information)
Additional context
Please also see this related issue on
NOTICE/MSG_RATELIMIT
.The text was updated successfully, but these errors were encountered: