Interface IMentionable

    • Method Detail

      • getAsMention

        @Nonnull
        String getAsMention()
        Retrieve a Mention for this Entity. For the public Role (@everyone), this will return the literal string "@everyone".
        Returns:
        A resolvable mention.
      • formatTo

        default void formatTo​(Formatter formatter,
                              int flags,
                              int width,
                              int precision)
        Specified by:
        formatTo in interface Formattable