code: public MessageBuilder append(CharSequence text, Formatting... format)
      {
          boolean blockPresent = false;
          for (Formatting formatting : format)
          {
              if (formatting == Formatting.BLOCK)
              {
                  blockPresent = true;
                  continue;
              }
              builder.append(formatting.getTag());
          }
          if (blockPresent)
              builder.append(Formatting.BLOCK.getTag());
  
          builder.append(text);
  
          if (blockPresent)
              builder.append(Formatting.BLOCK.getTag());
          for (int i = format.length - 1; i >= 0; i--)
          {
              if (format[i] == Formatting.BLOCK) continue;
              builder.append(format[i].getTag());
          }
          return this;
      }
docs: Appends a String using the specified chat {@link net.dv8tion.jda.core.MessageBuilder.Formatting Formatting(s)}.
  
  @param  text
  the text to append.
  @param  format
  the format(s) to apply to the text.
  
  @return The MessageBuilder instance. Useful for chaining.