Class Embed.Author

  • Enclosing class:
    Embed

    public final class Embed.Author
    extends Object
    An image for a Discord embed.
    • Field Detail

      • MAX_NAME_LENGTH

        public static final int MAX_NAME_LENGTH
        The maximum amount of characters that can be in an author's name.
        See Also:
        Constant Field Values
    • Method Detail

      • getEmbed

        public Embed getEmbed()
        Gets the Embed associated to this object.
        Returns:
        The Embed associated to this object.
      • getName

        public String getName()
        Gets the name of the author.
        Returns:
        The name of the author.
      • getUrl

        public String getUrl()
        Gets the URL of the author.
        Returns:
        The URL of the author.
      • getIconUrl

        public String getIconUrl()
        Gets the URL of the author icon (only supports http(s) and attachments).
        Returns:
        The URL of the author icon (only supports http(s) and attachments).
      • getProxyIconUrl

        public String getProxyIconUrl()
        Gets a proxied URL of the author icon.
        Returns:
        A proxied URL of the author icon.