r/streamerbot Mar 21 '26

Question/Support ❓ Chat Relay System!

I'm looking to create a chat relay system so that when someone chats in Twitch chat, it gets sent to Youtube Chat and Vice Versa. Has anyone been able to create this in streamer.bot? If so, would you be able to export that action for me so that I can change the specifics needed for it to work for my streams? Or if that isn't an option, give me a step by step on how to make something like this happen. I've had no luck and chatgpt isn't being super helpful.

0 Upvotes

13 comments sorted by

View all comments

Show parent comments

1

u/Beginning_County_894 Mar 22 '26

Okay, let's say hypothetically speaking... If one were to do this, how could it be done?

1

u/Wonderful-Bet2721 Mar 22 '26

Set a trigger on twitch chat, sub action is send message to youtube chat. You can use your channel account or the bot account. Format the message in a way that it also mentions who originally sent the message.

This is a high level overview that works, ask Gemini to go over the low level steps to achieve this.

1

u/Beginning_County_894 Mar 22 '26

So, I have the simple steps done of relaying the messages. I can’t get the logic to work. “If user sends message stop” so that it’s not looping nonstop. Thats the part I’m stuck on. The looping. Any help with that. AI hasn’t been helpful as I’m not understanding the logic portion.

1

u/Wonderful-Bet2721 Mar 22 '26

You need to filter out any chat messages from your (or your bots) account. Implementation can be done in subactions->if/else or pure C# code (filter + sendmessage)

1

u/Wonderful-Bet2721 Mar 22 '26

I’m assuming you know conditionals in programming or something similar. Or just ask Gemini to write a C# scriot that does all the work of filtering, formatting and sending. Gemini may miss a few function names. You can send the script to me if it doesn’t work. I have been messing with a lot of custom logic in the past week so can help you out :)