Hi!
I’m in the process of writing a Twitch plugin that uses the IRC API. Things are coming along pretty nicely but the one thing I can’t figure out is how to handle situations where sending a PRIVMSG to the channel is invalid. For instance, when a chat is in subscriber mode a text saying something like “Suscriber mode only, click here to subscribe” appears or if the chat is in slow mode it says that I can’t type a new message for x seconds. When sending a PRIVMSG to these channels however I don’t receive these types of messages back from the server, it just quietly swallows them. Is there any way I can recieve these messages and display them? Do I need to request them somehow? I could probably check to see if the channel is in sub mode only and manually display a similar message but that seems very error prone.
Thanks for any help!