setAuthor

open override fun setAuthor(name: String, url: URL?, iconUrl: URL?): EmbedBuilder(source)

Sets the author of the embed.

Return

The current EmbedBuilder instance.

Parameters

name

The name of the author.

url

The url of the author.

iconUrl

The url of the icon.


open override fun setAuthor(author: EmbedAuthorBuilder): EmbedBuilder(source)

Sets the author of the embed.

Return

The current EmbedBuilder instance.

Parameters

author

The author of the embed.