The command's information object. This defines the command's properties.

Hierarchy

Properties

aliases?: string[]

Aliases for this command.

Default Value

[]

description: string

The command's description.

emoji?: string

An emoji that represents the command. This is used by the default HelpCommand.

Default Value

🤖

group: string

The ID of the group that this command is registered to.

guildOnly?: boolean

Whether the command may only be used in a guild.

Default Value

false

name: string

The command's name.

nsfw?: boolean

Whether this command may only be used in a NSFW channel.

Default Value

false

ownerOnly?: boolean

Whether the command may only be used by the client's owner.

Default Value

false

ownerOverride?: boolean

Whether the bot's owner can execute this command even if they don't have the required permissions.

Default Value

true

userPermissions?: PermissionResolvable

The permissions resolvable that defines the permissions that a user requires to execute this command.

Default Value

null

Generated using TypeDoc