Hierarchy

  • Command

Constructors

Properties

Constructors

  • Parameters

    • name: string

      The name of the command

    • description: string

      A short description of what the command does

    • usage: string

      The usage of the command put '$' in place of the actual command name and preifx. Example: usage: "$ " -> ".commandname "

    • aliases: string[]

      Alternative command names the user can use the execute the same command. Can be empty

    Returns Command

Properties

aliases: string[]
description: string
name: string
on: (<K>(eventName, handler) => void)

Type declaration

    • <K>(eventName, handler): void
    • Type Parameters

      • K extends "execute"

      Parameters

      Returns void

Generated using TypeDoc