Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CommandOptions

Hierarchy

  • CommandOptions

Index

Properties

Optional aliases

aliases: undefined | string[]

Optional argsRequired

argsRequired: undefined | boolean

Optional caseInsensitive

caseInsensitive: undefined | boolean

Optional cooldown

cooldown: undefined | number

Optional cooldownExclusions

cooldownExclusions: undefined | { channelIDs?: undefined | string[]; guildIDs?: undefined | string[]; userIDs?: undefined | string[] }

Optional cooldownMessage

cooldownMessage: undefined | string | GenericCheckFunction<string>

Optional cooldownReturns

cooldownReturns: undefined | number

Optional defaultSubcommandOptions

defaultSubcommandOptions: undefined | CommandOptions

Optional deleteCommand

deleteCommand: undefined | boolean

Optional description

description: undefined | string

Optional dmOnly

dmOnly: undefined | boolean

Optional errorMessage

errorMessage: undefined | string | GenericCheckFunction<string>

Optional fullDescription

fullDescription: undefined | string

Optional guildOnly

guildOnly: undefined | boolean

Optional hidden

hidden: undefined | boolean

Optional hooks

hooks: undefined | Hooks

Optional invalidUsageMessage

invalidUsageMessage: undefined | string | GenericCheckFunction<string>

Optional permissionMessage

permissionMessage: undefined | string | GenericCheckFunction<string>

Optional reactionButtonTimeout

reactionButtonTimeout: undefined | number

Optional reactionButtons

reactionButtons: undefined | { emoji: string; response: CommandGenerator; type: string }[]

Optional requirements

requirements: undefined | { custom?: undefined | GenericCheckFunction<void>; permissions?: undefined | {} | GenericCheckFunction<{}>; roleIDs?: undefined | string[] | GenericCheckFunction<string[]>; roleNames?: undefined | string[] | GenericCheckFunction<string[]>; userIDs?: undefined | string[] | GenericCheckFunction<string[]> }

Optional restartCooldown

restartCooldown: undefined | boolean

Optional usage

usage: undefined | string

Generated using TypeDoc