public void doResponse(Dictionary <String, AbstractManager> managers, Input input) { responses = new List <String>(); this.managers = managers; respond(input); foreach (String response in responses) { ((IrcConnectionManager)IrcBot.getManager(IrcConnectionManager.MANAGER_NAME)).connection.replyTo(input, response); } }
protected AbstractManager getManager(String managerName) { return(IrcBot.getManager(managerName)); }