Architecture for Bot Servicing Many Twitch Accounts

If you are running a multi channel bot, that works “like” nightbot. Nightbot uses one Twitch account and only needs one process per x number of channels. Adjust x to mean you usage requirements as per Twitch’s Rate limits.

If like your post title suggests you want to service multiple channels where the bot has a different name in each channel Servicing Many Twitch Accounts then you’d need to run one process where bot account name.

TLDR:

  • One Process per x channels if bot is called MyBot
  • One Process per bot name if the bot has a different name on each channel

TMI over WebSockets works the same as TMI over IRC.

TMI = Twitch Messaging Interface.

tmi.js just shares the name.

1 Like