Adds new overload of the following command.
list of argument descriptions of this overload
function that will be called for the following command with given arguments
reference to itself to be used in sequential calls
Registers the command after specifying all its needed data (overloads, description translations etc.)
Specifies command's description, that will be displayed
above the chat input box when writing /your_command_name
.
In this overload, the given description is set as the English localization,
which will be used by default if you don't add translations to other languages.
reference to itself to be used in sequential calls
Specifies command's description, that will be displayed
above the chat input box when writing /your_command_name
.
object with language codes as keys and translations of the command description to the corresponding language as values
reference to itself to be used in sequential calls
Generated using TypeDoc
Object returned by Commands.create used to describe a custom chat command, and then call its
register
method to register the command.3.0