The bot looks at three signals
The bot assesses the last 3 minutes of the channel. Spike: far more messages than usual for this channel at this hour. Back-and-forth: almost everything is written by 2-4 people who answer each other. Rudeness: insults or swearing aimed at the other person. Slow mode turns on only if there is both rudeness and a back-and-forth. A goal in a match or an announcement will not turn it on, and neither will a crowd swearing without a back-and-forth.