BotNetwork

Use two bots: development and production

Use two bots: development and production

Published 1 min read

Takeaway

Use two bots: development and production

Why

A shared token means a staging bug can spam real users or revoke prod webhooks.

Do this

  1. Create separate bot accounts/apps per environment.
  2. Separate secrets in different secret-manager paths.
  3. Block prod tokens from local .env via CI checks.

Tools