In-Game command structure.
Signature:
interface InGameCommand#Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string[] |
(Optional) Aliases of the command. | ||
|
string |
(Optional) The description of the command. | ||
|
(context: { player: Player; args: string[]; }) => void | Promise<void> |
The execution of the command. | ||
|
string |
The name of the command. | ||
|
(Optional) The permissions the player needs to use the command. |