Package net.bnubot.core.commands

Examples of net.bnubot.core.commands.CommandRunnable.run()


    String[] params = null;
    if(param != null)
      params = param.split(" ");

    cr.run(source,
        user,
        param,
        params,
        whisperBack,
        commanderAccount,
View Full Code Here


  @Override
  public void run(Connection source, BNetUser user, String param, String[] params, boolean whisperBack, Account commanderAccount, boolean superUser)
  throws Exception {
    CommandRunnable whois = Profile.getCommand("whois");
    String[] newParams = new String[] {user.getShortLogonName()};
    whois.run(source, user, newParams[0], newParams, whisperBack, commanderAccount, superUser);
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.