Skip to content
GitHub

meocord register

Register the application commands with Discord, without starting the bot

Usage

Shell
meocord register [options]

Example

npx meocord register --build
bunx meocord register --build
pnpm exec meocord register --build
yarn meocord register --build

Options

OptionDescription
-b, --buildBuild before registering
-d, --devRegister as development does, to commands.developmentGuild
-g, --guild <id>Register every command to this guild only
--prune [all]Then remove this app's commands from servers the configuration no longer names; 'all' also removes those not declared by this build
--prune-guild <id>With --prune, also check this server, whether or not the bot is in it (repeatable) Default: [].
--after <id>With --prune, go on checking after this server, as a stopped --prune says
--dry-runWith --prune, register nothing and remove nothing: report what --prune would remove
-y, --yesWith --prune all, remove the commands not declared by this build without asking