Automatic.RandomKicker.GetResponse C# (CSharp) Method

GetResponse() public method

public GetResponse ( BotMessage message ) : List
message MBFunctionInterface.BotMessage
return List
        public override List<IRCResponse> GetResponse(BotMessage message)
        {
            if (userList.Contains(message.User.Name) && rand.Next(0, 5) == 0)
            {
                return new List<IRCResponse>() { new IRCResponse(ResponseType.Raw, "KICK " + message.ReplyTo + " " + message.User.Name + " ::D", "") };
            }
            return null;
        }