private void greetHelper() {
    Jokes joke = new Jokes(this.connection, config.getChannel());

    try {
      if (!hasArgs) {
        connection.msgChannel(config.getChannel(), joke.getPhoneNumber(getRandChanUser()));
      } else {
        int temp = cmdArgs.indexOf(' ');
        if (temp != -1) {
          connection.msgChannel(config.getChannel(), joke.getPhoneNumber(cmdArgs.substring(0, temp)));
        } else {
          connection.msgChannel(config.getChannel(), joke.getPhoneNumber(cmdArgs));


        }
      }
    } catch (NullPointerException ex) {
      Logger.getLogger(BotCommand.class
              .getName()).log(Level.SEVERE, null, ex);

      //Inform masters in PM
      connection.msgMasters(
              "FIX ^mum; FileReader.java not reading input!!!");
    }
  }