public EmbedBuilder setFooter ( String text , String iconUrl ) { //We only check if the text is null because its presence is what determines if the // footer will appear in the embed. if ( text == null ) { this . footer = null ; } else { Checks . check ( text . length ( ) <= MessageEmbed . TEXT_MAX_LENGTH , "Text cannot be longer than %d characters." , MessageEmbed . TEXT_MAX_LENGTH ) ; urlCheck ( iconUrl ) ; this . footer = new MessageEmbed . Footer ( text , iconUrl , null ) ; } return this ; }
Sets the Footer of the embed .