Results

Namespace

Type

Options used when creating a new discord.command.CommandGroup.

Hierarchy

  • ICommandGroupOptions <-- You are here!

Index

Properties

Optional additionalPrefixes

additionalPrefixes: string[]

An array of additional prefixes that may be used to trigger commands within this group.

Optional defaultPrefix

defaultPrefix: undefined | string

The default prefix used to execute commands within this command group.

If not specified, the default prefix is !.

Optional description

description: undefined | string

A human-readable description for this command group.

Optional filters

A composition of filters that determine if the command can be executed.

For a complete list of filters and their descriptions, see discord.command.filters.

Optional label

label: undefined | string

A human-readable label for this command group.

Optional mentionPrefix

mentionPrefix: undefined | false | true

If true, users will be able to run this command via a mention/ping, followed by a space, and the command name/arguments.

Optional register

register: undefined | false

If false, the command group will not auto-register MESSAGE_CREATE events upon creation.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc