39 lines
1.7 KiB
Bash
Executable File
39 lines
1.7 KiB
Bash
Executable File
# ── Discord ─────────────────────────────────────────────────
|
|
# Bot token from https://discord.com/developers/applications
|
|
DISCORD_TOKEN=
|
|
|
|
# Optional: restrict slash-command sync to one guild for instant updates.
|
|
# Leave blank to register commands globally (can take up to an hour to appear).
|
|
GUILD_ID=
|
|
|
|
# ── Git server ──────────────────────────────────────────────
|
|
# Provider: auto | gitea | gitlab | github (gitea also covers Forgejo)
|
|
GIT_PROVIDER=auto
|
|
|
|
# Base URL of your git server, e.g. https://git.example.com or https://gitlab.com
|
|
# For GitHub, leave blank and set GIT_PROVIDER=github (defaults to api.github.com).
|
|
GIT_BASE_URL=
|
|
|
|
# Read-only personal access token (optional for fully public servers).
|
|
GIT_TOKEN=
|
|
|
|
# ── Channels / roles (also configurable in Discord via /radar_config) ──
|
|
# Default channel new projects are dropped into.
|
|
GIT_DROP_CHANNEL_ID=
|
|
|
|
# Channel that highlighted / featured drops are re-posted to.
|
|
GIT_HIGHLIGHT_CHANNEL_ID=
|
|
|
|
# Role pinged when a highlighted project drops.
|
|
GIT_HIGHLIGHT_ROLE_ID=
|
|
|
|
# ── Tuning ──────────────────────────────────────────────────
|
|
# How often (seconds) to poll the git server for new projects (min 60).
|
|
GIT_POLL_INTERVAL=300
|
|
|
|
# Max new projects dropped per scan cycle (bursts above this are baselined silently).
|
|
GIT_MAX_DROPS_PER_CYCLE=10
|
|
|
|
# Logging verbosity: DEBUG | INFO | WARNING | ERROR
|
|
LOG_LEVEL=INFO
|