Discore
Show / Hide Table of Contents

Method SetAuthor

| Improve this Doc View Source

SetAuthor(string?, string?, string?)

Sets the author of the embed.

Declaration
public EmbedOptions SetAuthor(string? name, string? url = null, string? iconUrl = null)
Parameters
Type Name Description
string name
string url
string iconUrl

The URL of the author's icon.

To use attachments uploaded alongside the embed, use the format: attachment://FILENAME_WITH_EXT

Returns
Type Description
EmbedOptions
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX