Automatic.RandomKicker.GetResponse C# (CSharp) 메소드

GetResponse() 공개 메소드

public GetResponse ( BotMessage message ) : List
message MBFunctionInterface.BotMessage
리턴 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;
        }