Skip to content

CIRCE / DOCUMENTATION

circe doctor

Diagnose runtime, config, environment and token before you run.

Documentation menu
circe doctor [--json]

Each check reports pass, warn or fail, with a suggestion for the fix. Exit code is 1 if any check fails.

Check Fails when
Runtime Node.js, Bun or Deno is below the minimum version.
circe.config.ts Missing, does not load, or http/hybrid has no publicKey.
src/config.ts The current environment does not satisfy the schema; every issue is listed.
Credentials Warns if DISCORD_TOKEN is missing from the environment.
Dependencies Peer dependencies are missing or outside the supported range.

Run it first whenever the bot does not start.