Пример #1
0
 /**
  * Gets the tabComplete for a specified Command name
  *
  * @param msgrec the caller of the tab complete
  * @param command the name of the command to get a tab complete for
  * @param args the current command arguments
  * @return list string of possible completion
  */
 public List<String> tabComplete(MessageReceiver msgrec, String command, String[] args) {
   CanaryCommand cmd = commands.get(command);
   if (cmd != null) {
     return cmd.tabComplete(msgrec, args);
   }
   return null;
 }