Protected constructorProtected _clientProtected _commandProtected _interactionProtected _interactionProtected _interactionProtected _messageProtected _optionsProtected _rawProtected _responseProtected isthe attatchment of this command message. If this was created from CommandInteraction, this will always return empty array.
the author of this command message
the channel of this command message
the channel id of this command message
Command name which was resolved
the content of this command message
the date time of this command message
the timestamp of this command message
the guild of this command message
the id of this command message
the memeber of this command message
Command arguments which was resolved
Raw command arguments
the reactions of this command message If this was created from CommandInteraction, this will always return null.
Response message bound to this command message
Response message may be stale.
the url of this command message If this was created from CommandInteraction, this will always return null.
Respond to the command
You can call this once
message content
response message bound to this command message
Set suppress of the embed of command message
if true suppressed, otherwise false
Static createInitialize this from command interaction.
CommandInteraction that contains command.
Created CommandMessage object.
Initialize this from component interaction.
ComponentInteraction that will be treated as a command.
The command string that the interaction intends to execute.
The parsed arguments of the command bound to the interaction.
The raw arguments text of the command bound to the interaction.
Initialize this from modal-submit interaction.
ModalSubmitInteraction that will be treated as a command.
The command string that the interaction intends to execute.
The parsed arguments of the command bound to the interaction.
The raw arguments text of the command bound to the interaction.
Static createInitialize this from Message
Message an user sent that contains command
new CommandMessage instance
Static Protected createCreate and initialize a new CommandMessage object based on Message, with given pre-parsed options.
The Message object that should be treated as a command.
The command string that the Message indicates.
The command arguments that the Message indicates.
The raw command arguments text that the Message indicates.
New CommandMessage object.
Static Protected parseStatic resolveReslolve command and arguments from message content
message content
prefix length
object contains resolved command, parsed arguments and raw argument.
Generated using TypeDoc
Represents CommandInteraction or Message which contains command.