DiscordCommand
Extends
LitElement
Implements
Constructors
new DiscordCommand()
new DiscordCommand():
DiscordCommand
Returns
Inherited from
LitElement.constructor
Accessors
author
The message author’s username.
Default Value
avatar
The message author’s avatar. Can be an avatar shortcut, relative path, or external link.
command
The name of the command invoked.
compactMode
Whether to use compact mode or not.
contextAttachmentReply
Whether the referenced context message contains attachments.
contextCommandReply
Whether the referenced context message is from a response of a slash command.
contextMessageDeleted
If the referenced messaga has deleted
contextMessageReply
The referenced message in message command
contextUserAvatar
The image of user mentioned in context menu
contextUserBot
If the message command user are bot
contextUserBotVerified
If the user bot are verified
contextUserName
The name of user mentioned in context menu
contextUserOfficialApplication
If the context user is a application official of discord
contextUserProfile
The id of the profile data to use.
contextUserRoleColor
The role color of user mentioned in context menu
contextUserServer
If the context user is a server
lightTheme
Implementation of
profile
The id of the profile data to use.
roleColor
The message author’s primary role color. Can be any CSS color value.
type
The type of command
Methods
checkType()
checkType():
void
Returns
void