LOCAL=true DEBUG_I18N=false DISABLE_SETTINGS=false UA_STRING="gh:WentTheFox/HammerTimeBot" DISCORD_INVITE_URL="https://discord.gg/#example-invite-url" # SledgeHammerTime Integration API_URL=http://127.0.0.1:8000 # Generate via `php artisan bot-token:generate` API_TOKEN= # HammerTime API (packages/api). Optional: when both are set the timestamp commands (at, at12, iso, unix, in, ago, add, # subtract, snowflake) are asked of the API, which also records their telemetry, and this process only handles them # itself when the API does not answer. Leave them out and every command is handled here, as before. # The origin of the API, and the bot's service key from `php artisan bot-token:generate --service` on the backend COMMANDS_API_URL= COMMANDS_API_KEY= # How long to wait for the API (ms) before handling the command here instead, interactions must be answered within 3 s COMMANDS_API_TIMEOUT_MS=1500 # Discord API DISCORD_BOT_TOKEN= DISCORD_CLIENT_ID= # Only used by the webhook entrypoint (src/webhook.ts) - "Public Key" on the app's Developer Portal page DISCORD_PUBLIC_KEY= # Only used by the webhook entrypoint (src/webhook.ts) WEBHOOK_PORT=3939 WEBHOOK_HOST=127.0.0.1 # Only used by the webhook entrypoint (src/webhook.ts) - long random URL-safe token; the webhook # only serves interactions at /, set that as the Interactions Endpoint URL on the Developer # Portal. Generate via `node -e "console.log(require('crypto').randomBytes(32).toString('base64url'))"` WEBHOOK_PATH_SECRET= # Only used by the webhook entrypoint (src/webhook.ts) - enables discord-bot-framework's # verboseSignatureDiagnostics (exact signature/timestamp, body hash, type/id if JSON) for # diagnosing signature-rejection failures beyond the default metadata-only diagnostic WEBHOOK_VERBOSE_DIAGNOSTICS=false # Guild ID used to resolve role mentions in FAQ entries (optional) SUPPORT_SERVER_ID= # Discord webhook URL logs of warn level and above are fanned out to (optional) DISCORD_LOG_WEBHOOK_URL= # Crowdin API CROWDIN_API_KEY= CROWDIN_PROJECT_IDENTIFIER= CROWDIN_REPORT_CACHE=true CROWDIN_REPORT_DEBUG=false CROWDIN_DEVELOPER_ID=13617551