# Copy to `.env` and fill in. `.env` is gitignored; this template is not.

# ─── Twitch chat auth ───────────────────────────────────────────────────────
# Generated together at https://twitchtokengenerator.com
# (scopes: chat:read + chat:edit). Access token is what the bot uses today;
# refresh + client id are stored so we can rotate the access token later
# without re-running the generator.

# Chat OAuth token. Paste the raw token — the bot adds the `oauth:` prefix
# automatically if you omit it.
TWITCH_ACCESS_TOKEN=

# Refresh token. Currently unused by bot.py; kept here so the value survives
# alongside the access token it's paired with.
TWITCH_REFRESH_TOKEN=

# App client ID shown by twitchtokengenerator. Needed together with the
# refresh token to mint a new access token via Twitch's OAuth endpoint.
# Currently unused by bot.py.
TWITCH_CLIENT_ID=

# ─── Identity / where to connect ────────────────────────────────────────────
# Bot login name (lowercase). Posting as your own streamer account is fine
# for a personal bot — set this to your channel name in that case.
TWITCH_NICK=ophi118

# Channel to join (no leading #). Defaults to TWITCH_NICK if omitted.
TWITCH_CHANNEL=ophi118

# ─── Mattermost: going-live notifications (optional) ────────────────────────
# When set, the bot polls https://ophi118.com/api/status.json (the public
# status service in station/server/) and POSTs a single message to this
# Mattermost incoming-webhook URL on every offline→live transition. Unset
# (or blank) disables notifications entirely; the bot still runs.
#
# Override the polled endpoint with STATUS_URL if running against a private
# status service.
MM_HOOK=
