Eziana
1
I know on regular message events, for example, you get tags you subscribe to. I get display-name, subscriber, and mod tags on these.
However, when one whispers your bot, you do not receive these tags. The whisper is sent as an unknown event with no tags, just the user nick and the message.
To be exact, here’s the raw line you get:
UnknownEvent(line=:eziana!eziana@eziana.tmi.twitch.tv WHISPER ezianabot :hi)
I would like to possibly see if it’s possible to request tags from a nick, or is there an easy way to do this?
The reason I want to do this is because I want to disable my whispers as a streamer for some pretty obvious reasons. Although I don’t want to punish the mass because of a few rotten eggs, so I’ve devised a plan to tell close friends and moderators to instead whisper my bot. The bot will see these whispers and forward them to my terminal view, emulating the whisper environment, pictured below. I’ve decided I’ll only forward mod whispers to the terminal view as well, perhaps in the event if my users were to ever figure out you could spam my terminal like this.
No quick and easy way, but you can have your bot check to see if they’re in your subscriber list via the API, and then forward the message if they are.
Alternatively you can download your sub list .csv and compare it against that, then there’s no download time.
You’ll have to maintain that list for current subs though.
There’s no way to have a /w include subscriber status on your channel though, so you’ll need some workaround.
1 Like
Eziana
5
I’ve determined what I’ll do.
Thanks for the suggestions
system
Closed
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.