marcusmcb / twitch-chat-bot

A custom chat bot built for Twitch using TMI.js
MIT License
0 stars 0 forks source link

Follow events and OBS controll #1

Open LesterCatTTV opened 1 month ago

LesterCatTTV commented 1 month ago

hey, i have to say, nice work, took for myself, made own commands, what i looked for, but is there a way, that it say, if a follow on Twitch happend and sends it in the Chat and how the OBS Controll works, like a command, that shows a source, like an image and then after a specific time away?

-LesterHybrid (Twitch Streamer)

marcusmcb commented 1 month ago

Lester,

Thank you so much!

There's definitely a way to update the bot scripting to listen for those "follow" events when they occur.

I haven't tried it myself yet, but the TMI.js client connection listens to each message, so when other events (follows, subs, gifts, etc) occur you can still log them.

It only responds to the chat commands defined in the script, but it could respond to "follow" events. When they occur while you're live, the bot could respond by returning a text response to the chat and an object to OBS that you can use to trigger an action in OBS (toggle an image momentarily on-screen, etc).

On Wed, May 22, 2024 at 7:49 AM LesterCatTTV @.***> wrote:

hey, i have to say, nice work, took for myself, made own commands, what i looked for, but is there a way, that it say, if a follow on Twitch happend and sends it in the Chat and how the OBS Controll works, like a command, that shows a source, like an image and then after a specific time away?

-LesterHybrid (Twitch Streamer)

— Reply to this email directly, view it on GitHub https://github.com/marcusmcb/twitch-chat-bot/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJENQKVWPMVVZTPD7EQXLKDZDSV6LAVCNFSM6AAAAABID2CYIOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYTANZVGEZTMNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>