-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
44 lines (35 loc) · 1.45 KB
/
.env.example
File metadata and controls
44 lines (35 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copy to .env and fill in values. Do not commit real secrets.
# Required
SLACK_BOT_TOKEN=xoxb-your-bot-token
# Socket Mode (default)
SLACK_APP_TOKEN=xapp-your-app-token
# Events API (HTTP) — if using HTTPS instead of Socket Mode
# SLACK_SIGNING_SECRET=your-signing-secret
# PORT=3000
# Optional
LOG_LEVEL=info
TIMEZONE=Africa/Johannesburg
ALLOWED_CHANNELS=C0919MX7KJS
DEFAULT_REPLY_MODE=channel
# Feature toggles (comma-separated). Default is "boom,chat" if unset.
# Valid values: boom,chat
# FEATURES=boom,chat
# Chat feature (OpenAI)
# Set your OpenAI key to enable AI-powered chat.
# If missing, the bot will reply that AI is not configured.
# Model default is gpt-4.1-nano unless overridden.
# OPENAI_API_KEY=sk-your-openai-key
# OPENAI_MODEL=gpt-4.1-nano
# Optional override allowlist for Chat feature only (comma-separated channel IDs).
# If unset, Chat responds in any channel the bot is in.
# CHAT_ALLOWED_CHANNELS=C0123,C0456
# Optional JSON config for Chat defaults (see data/chat-config.json.example)
# CHAT_CONFIG=data/chat-config.json
# Chat fallback (channel-scoped, in-memory; respects DEFAULT_REPLY_MODE)
# CHAT_ENABLED=true
# CHAT_HISTORY_MAX_TURNS=20
# CHAT_HISTORY_MAX_CHARS=16000
# CHAT_INPUT_MAX_CHARS=4000
# CHAT_REPLY_MAX_TOKENS=512
# CHAT_TEMPERATURE=0.7
# CHAT_SYSTEM_PROMPT=You are a helpful Slack bot. Keep replies concise, actionable, and friendly. Use plain text suitable for Slack. Avoid long lists and code fences unless explicitly requested.