DiscordThreadMessage
Extends
Section titled “Extends”LitElement
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DiscordThreadMessage():
DiscordThreadMessage
Returns
Section titled “Returns”DiscordThreadMessage
Inherited from
Section titled “Inherited from”LitElement.constructor
Accessors
Section titled “Accessors”author
Section titled “author”The message author’s username.
Default Value
Section titled “Default Value”'User'
avatar
Section titled “avatar”The message author’s avatar. Can be an avatar shortcut, relative path, or external link.
Whether the message author is a bot or not.
Only works if server
is false
or undefined
.
edited
Section titled “edited”Whether the message has been edited or not.
lightTheme
Section titled “lightTheme”Implementation of
Section titled “Implementation of”profile
Section titled “profile”The id of the profile data to use.
relativeTimestamp
Section titled “relativeTimestamp”The relative timestamp of the message.
roleColor
Section titled “roleColor”The message author’s primary role color. Can be any CSS color value.
server
Section titled “server”Whether the message author is a server crosspost webhook or not.
Only works if bot
is false
or undefined
.
verified
Section titled “verified”Whether the bot is verified or not.
Only works if bot
is true