Class MessageEmbed.Provider

  • Enclosing class:
    MessageEmbed

    public static class MessageEmbed.Provider
    extends Object
    Multipurpose class that represents a provider of content, whether directly through creation or indirectly through hosting.
    • Constructor Detail

    • Method Detail

      • getName

        @Nullable
        public String getName()
        The name of the provider.
        If this is an author, most likely the author's username.
        If this is a website, most likely the site's name.
        Returns:
        Possibly-null String containing the name of the provider.
      • getUrl

        @Nullable
        public String getUrl()
        The url of the provider.
        Returns:
        Possibly-null String containing the url of the provider.