CommandOptions

Specification

  • Type: Object - {}

  • Valid fields: 6

Fields

Name

Type

Description

Optional

prefix

string

The prefix to use to invoke commands

no

prefixOnMention

boolean

Whether to return the prefix when a user mentions the bot with nothing else in the message

yes

customizablePrefix

Options to read a customizable prefix

yes

defaultCategory

Options the override the default category

yes

help

Options for the help command

yes

rateLimiter

Options for adding a rate limiter

yes

Last updated