SerenityJS
    Preparing search index...

    Represents the commands of a available command packet.

    Hierarchy

    • DataType
      • Commands
    Index

    Constructors

    • Parameters

      • name: string
      • description: string
      • flags: number
      • permissionLevel: number
      • alias: number
      • subcommands: number[]
      • overloads: CommandsOverload[]

      Returns Commands

    Properties

    alias: number

    The alias of the command.

    description: string

    The description of the command.

    flags: number

    The flags of the command. Setting this value to 1 will make the command blue.

    name: string

    The name of the command.

    overloads: CommandsOverload[]

    The overloads of the command.

    permissionLevel: number

    The permission level of the command.

    subcommands: number[]

    The subcommands of the command.

    Methods