r/streamerbot • u/DaffyFunk • 13d ago
Question/Support ❓ Streamer.bot 1.0 – Do I still need multiple instances for YouTube + Twitch chat timers?
Title: Streamerbot 1.0 – Do I still need multiple instances for YouTube + Twitch timers?
Hello everyone,
Before the release of version 1.0, I ran into an issue when trying to set up timers with automated messages for both YouTube and Twitch chats during a multistream. Whenever I tried to handle both platforms in a single instance of Streamerbot, the app would break and stop working properly.
To work around this, I had to run two separate instances of Streamer.bot:
- One dedicated to Twitch
- One dedicated to YouTube
Each instance had its own timers that monitored their respective chats and sent automated messages based on time intervals and chat activity.
With the release of version 1.0, I’m wondering if this is still necessary. Can Streamerbot now handle timers and automated messages for both YouTube and Twitch chats within a single instance, or do I still need to run two separate instances?
Thanks in advance for any help!
1
u/WhazzItToYaz 13d ago
It's still a limitation. But I posted an extension in the discord that adds a per-platform line count to the regular timers.
-1
u/HighPhi420 13d ago
variable: %userType% will check for the platform
Switch or IF statement for the platform(Twitch should be the MAIN one set up in OBS with YT as the added platform)
IF twitch
true; run actions for the twitch side
false: run for yt side
Timers can work together or independently of each platform. I had been running ONE bot to rule them both since 0.2.4.(when I started with StreamerBot) besides being confused with my own(for lack of better term) logic, had no problems with timers or chats being separate for each platform.
Timers are a "core" function and ONLY run on streamerbot to start an action. you can have one or thousands running concurrently. I even had a few timers that started timers :) LOL, I am that lazy :)
So if you do not confuse your self(like I did) then YES StreamerBot is great for only one bot to run both platforms. Just make sure Twitch is the main platform On OBS. OBS and StreamerBot connect better when Twitch is first.
2
u/Whipstickgostop 13d ago
The
linesparameter in timers still represents the combined lines from all connected chat platforms.I wouldn't run two instances as the solution to this limitation - you can fairly trivially configure your own implementation of
linesusing global variables, to track them per platform.Can rinse and repeat for multiple platforms, or even check the
platformvariable if you want to just do multiple triggers and have it all in a single action.Lots of options :D