LogoRobo.js
Packages@robojs/discordjs

CommandConfig

Interface: CommandConfig

Command configuration options.

Extends

Extended by

Properties

PropertyTypeDescriptionOverridesInherited from
__auto?trueInternal: auto-generated handler marker-BaseConfig.__auto
__module?stringInternal: module name-BaseConfig.__module
__path?stringInternal: file path-BaseConfig.__path
__plugin?{ name: string; path: string; }Internal: plugin info-BaseConfig.__plugin
__plugin.namestring---
__plugin.pathstring---
contexts?CommandContext[]Interaction contexts where the command is available--
defaultMemberPermissions?string | number | bigintDefault member permissions required to use the command--
description?stringHandler description-BaseConfig.description
descriptionLocalizations?Record<string, string>Description localizations by locale code--
disabled?booleanWhether the handler is disabled-BaseConfig.disabled
dmPermission?booleanDeprecated Use contexts instead--
integrationTypes?CommandIntegrationType[]Installation contexts for the command--
nameLocalizations?Record<string, string>Name localizations by locale code--
nsfw?booleanWhether the command is age-restricted--
options?readonly CommandOption[]Command options/parameters--
sage?false | SageOptionsSage (auto-defer/reply) configuration--
serverOnly?string | string[]Restrict to specific server IDs-BaseConfig.serverOnly
timeout?numberExecution timeout in millisecondsBaseConfig.timeout-

On this page