#!/usr/bin/env bash # `scripts/discord.sh check|run|stop|unlock `: the Discord connector for # one seat on one server. See packages/discord/README.md. The binding lives # at /discord/.json (0600, never committed); the token # stays in the seat's private secrets directory and is read at runtime only. set -euo pipefail REPO="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" exec node "$REPO/packages/discord/src/cli.mjs" "$@" --repo "$REPO"