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.