Class Command<Inst>

Command class.

Type Parameters

  • Inst = Meinu

    Meinu instance It's a builder for slash commands, buttons, etc.

Constructors

Properties

name: Locales
description: Locales
type: undefined | ChatInput | User | Message
integration_types: ApplicationIntegrationType[]
subcommands: Command<Inst>[] = []
checkPermission: CommandHasPermission<Inst>
ownersOnly: boolean
nsfw: boolean

Accessors

  • get global(): boolean
  • Returns boolean

Methods

  • Parameters

    Returns this