An Extension is also an application you don’t need a seperate set of keys
oAuth tokens expire, but you’ll be able to use the refresh token to generate a new token.
A bot’s token is only checked at login, so it only needs to be valid at “bot start/connect”
If you have a bad password, bots will generally auto reconnect.
I cannot speak to the specifics of tmi.js as I don’t use tmi.js
Yes
Correct
I believe it’s per channel yeah.
Generally speaking it’s difficult to hit the limits unless you are actually trying to spam
Can use a justinfan/anon login to monitor/count messages if needed, but I’d just send a message every 5 minutes (or whatever time period) regardles of chat lines, to account for new people joining the stream.
Then how do they know the messaging you are sending is related to the extension? If you are using a different name! Using the Extension chat also gives you access to the target channel subscriber emotes without having to “sub the bot” to the channel