I just read into the Twitch IRC connection and set up a bot written in Ruby to log some messages and timeouts.
When a user gets timeouted or banned, I get multiple CLEARCHAT entries. This is a bit confusing and needs a workaround but the real problem is that many CLEARCHAT (timeout) messages appear without any message displayed in the real Twitch Chat.
If i receive a CLEARCHAT, the outputs looks like the following (using Cinch for ruby)
In this case, the user “blelok4t” gets timeouted, but no message of the user is displayed in the chat. Further there is no “timeout-message” like
blelok4t has been timeouted
Does anybody has a explanation for these false-positive-like messages?
If i’m not mistaken, Twitch doesn’t show timeout messages if there isn’t at least one message of that chatter in your chat.
So there’re no false-positives but the messages are just omitted because they’re not relevant for your current chat.
I was referring to the <message deleted> visible in the web chat, and how Betterttv also displays “user1 got timed out”. The actual clear chat is of course sent and received over IRC, but has no visible effect in the web client unless the user recently posted a message.