Skip to content

DiscordReply

Extends

  • LitElement

Implements

Constructors

new DiscordReply()

new DiscordReply(): DiscordReply

Returns

DiscordReply

Inherited from

LitElement.constructor

Accessors

attachment

Whether the referenced message contains attachments.


author

The message author’s username.

Default Value

'User'

avatar

The message author’s avatar. Can be an avatar shortcut, relative path, or external link.


bot

Whether the message author is a bot or not. Only works if server is false or undefined.


clanIcon

The clan icon of the author, which comes from the enabled clan tag


clanTag

The clan name of the author, which comes from the enabled clan tag


command

Whether the referenced message is from a response of a slash command.


compactMode

Whether to use compact mode or not.


deleted

Whether this reply is a deleted message. When set to true, any content inside the tags is ignored as no slot is rendered. The message will always be "Original message was deleted". Furthermore, the following properties are ignored:


edited

Whether the message has been edited or not.


lightTheme

Implementation of

LightTheme.lightTheme


mentions

Whether this reply pings the original message sender, prepending an ”@” on the author’s username.


op

Whether the author is the original poster.


profile

The id of the profile data to use.


roleColor

The message author’s primary role color. Can be any CSS color value.


server

Whether the message author is a server crosspost webhook or not. Only works if bot is false or undefined.


verified

Whether the bot is verified or not. Only works if bot is true