예제 #1
0
 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);
     }
 }
예제 #2
0
 protected AbstractManager getManager(String managerName)
 {
     return(IrcBot.getManager(managerName));
 }