PrefixCommand

Interface

PropertyTypeDescription

name

string

The name of the command. Optional:

description

string

The description of the command.

Optional:

isSlashCommand

boolean

If true, the command will be marked as slash command.

Optional:

ignoreRegister

boolean

If true, the command will not be registered.

Optional:

aliases

string[]

The aliases of the command.

Optional:

execute

PrefixCommandExecutor

The main function of the command.

Optional:

Last updated