示例#1
0
        protected override void OnMessage(Channel channel, IrcUser from, string message)
        {
            //Due to Twitch architecture, a user can send a message before a JOIN.
            if (!_userDatabase.ContainsUser(from.Nick))
            {
                OnJoin(channel, from.Nick);
            }

            SendLastVisited(from.Nick);
            _statistics.UpdateOnMessage(from.Nick, message);
        }