Skip to content

DiscordCommand

  • LitElement

new DiscordCommand(): DiscordCommand

DiscordCommand

LitElement.constructor

The message author’s username.

'User'

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


The name of the command invoked.


Whether to use compact mode or not.


Whether the referenced context message contains attachments.


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


If the referenced messaga has deleted


The referenced message in message command


The image of user mentioned in context menu


If the message command user are bot


If the user bot are verified


The name of user mentioned in context menu


If the context user is a application official of discord


The id of the profile data to use.


The role color of user mentioned in context menu


If the context user is a server


LightTheme.lightTheme


The id of the profile data to use.


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


The type of command

checkType(): void

void