The value which determines what the user types.
i18n string for the description of the command.
Example of the parameters or an i18n string.
Optional
permissionOptional. Permission value required for the user to have to see/use it.
Lets the clients know that this command does provide preview results.
Optional
executeThe function which gets executed whenever a user selects a preview item.
The function which gets called when a user enters the command.
Note: This will not get called if a preview is defined and
presented to the user and the user interacts with the preview.
When that happens, the executePreviewItem
function will be called.
Optional
previewerThe function which gets called whenever a user starts typing the command and the providesPreview
is set to true.
Max amount returned to the client is 10 and no more, period.
Generated using TypeDoc
Represents a slash command that is being provided.