429’s occur with the Helix API
Not chat.
With the oAuth changes about to come in thats 800 not 30
Chat bot’s don’t call the API to send chat messages. If you exceed the spam limit you just get disconnected.
If your bot is not a mod in the channel you will get a NOTICE with a relevant msg-id telling you you are sending too quickly, or the message is identical to the previous one, non mods must wait 30 seconds before re-sending the same message
You need to add logging for NOTICE messages and/or other Chat messaging types