setAuthor

abstract fun setAuthor(name: String, url: URL? = null, iconUrl: URL? = null): 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.


Sets the author of the embed.

Return

The current EmbedBuilder instance.

Parameters

author

The author of the embed.