Skip to content

DiscordReply

  • LitElement

new DiscordReply(): DiscordReply

DiscordReply

LitElement.constructor

Whether the referenced message contains attachments.


The message author’s username.

'User'

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 and officialApp is false or undefined.


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


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


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


Whether to use compact mode or not.


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:


Whether the message has been edited or not.


LightTheme.lightTheme


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


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


Whether the author is the original poster.


The id of the profile data to use.


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


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


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