LogoRobo.js
Packages@robojs/discordjs

CommandEntry

Interface: CommandEntry

Command entry in manifest (includes subcommands).

Extends

Properties

PropertyTypeDescriptionInherited from
__auto?trueInternal: auto-generated handler markerCommandConfig.__auto
__module?stringInternal: module nameCommandConfig.__module
__path?stringInternal: file pathCommandConfig.__path
__plugin?{ name: string; path: string; }Internal: plugin infoCommandConfig.__plugin
__plugin.namestring--
__plugin.pathstring--
contexts?CommandContext[]Interaction contexts where the command is availableCommandConfig.contexts
defaultMemberPermissions?string | number | bigintDefault member permissions required to use the commandCommandConfig.defaultMemberPermissions
description?stringHandler descriptionCommandConfig.description
descriptionLocalizations?Record<string, string>Description localizations by locale codeCommandConfig.descriptionLocalizations
disabled?booleanWhether the handler is disabledCommandConfig.disabled
dmPermission?booleanDeprecated Use contexts insteadCommandConfig.dmPermission
integrationTypes?CommandIntegrationType[]Installation contexts for the commandCommandConfig.integrationTypes
nameLocalizations?Record<string, string>Name localizations by locale codeCommandConfig.nameLocalizations
nsfw?booleanWhether the command is age-restrictedCommandConfig.nsfw
options?readonly CommandOption[]Command options/parametersCommandConfig.options
sage?false | SageOptionsSage (auto-defer/reply) configurationCommandConfig.sage
serverOnly?string | string[]Restrict to specific server IDsCommandConfig.serverOnly
subcommands?Record<string, CommandEntry>--
timeout?numberExecution timeout in millisecondsCommandConfig.timeout

On this page