Skip to content

Development Workflow

Start the dev server with file watching:

Terminal window
pnpm dev

This watches src/ and reloads the bot on every save. Changes to command logic, services, or interaction handlers take effect immediately without a restart.

pnpm dev handles runtime code changes, but Discord maintains its own cache of command metadata (names, descriptions, options). If you change any of those, you need to push the updated definitions:

Terminal window
pnpm deploy:commands:guild # instant pushes to your test guild only

See Command Deploy Modes for the full deployment strategy.