Package com.uwyn.drone.protocol.commands

Examples of com.uwyn.drone.protocol.commands.Notice


  }
 
  public void messageCommand(Bot bot, String nick, String command, String arguments, ServerMessage fullMessage)
  throws CoreException
  {
    bot.send(new Notice(nick, "\u0001VERSION UWYN Drone IRC Bot "+Droned.getVersion()+", "+System.getProperty("os.name")+" "+System.getProperty("os.arch")+" "+System.getProperty("os.version")+", Java "+System.getProperty("java.vendor")+" "+System.getProperty("java.version")));
  }
View Full Code Here


  }
 
  public void messageCommand(Bot bot, String nick, String command, String arguments, ServerMessage fullMessage)
  throws CoreException
  {
    bot.send(new Notice(nick, "\u0001PING "+arguments));
  }
View Full Code Here

      if (help_line.length() > 0)
      {
        // replace help variables
        help_line = StringUtils.replace(help_line, VAR_BOTNICK, bot.getConnectedNick());
       
        bot.send(new Notice(nick, help_line+AttributeCode.ENDLINE));
      }
    }
  }
View Full Code Here

TOP

Related Classes of com.uwyn.drone.protocol.commands.Notice

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.