How to configure Command

All the properties you can use in the message configuration. Every property is optional.

  • Name
    enabled
    Type
    boolean
    Description

    If false, the command will be disabled.

  • Name
    aliases
    Type
    string[]
    Description

    The aliases of the command.

  • Name
    cooldown
    Type
    number
    Description

    The cooldown of the command in seconds.

  • Name
    permission
    Type
    string
    Description

    Directly use discord permissions

  • Name
    conditions
    Type
    condition[]
    Description

    The conditions that must be met for the command to be executed. Find more information about conditions here.

Example

addons:
  # Configuration can be added here.
  permission: "ADMINISTRATOR" # Here for example, the command will require the administrator permission.
  description: "Manage addons."
  subcommands:
    list:
      description: "Show the list of addons."