Thank you to your quick response!
The bot sends
/join #channelnameit’s then in that channel. So you need to figure out how/the best way for you to instruct your bot to do that
The tmi.js seems to handle the login for me
you can see below the behaviour of the channels key detailed in their documentation.
Channels to automatically join upon connecting. The rate of joins is controlled by the
options.joinIntervaloption
Therefore I think I will proceed like so
Fetch the array of channels I would have stored in db and pass to the bot at startup. I will follow your advice and build a small frontend.
Currently if I add a streamer channel name to this array, he/she can use my bot in chat.
But I can’t see why I do need user’s oauth token to run the bot ?