forked from tokyoweb3/LazyGravity
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
48 lines (34 loc) · 1.85 KB
/
.env.example
File metadata and controls
48 lines (34 loc) · 1.85 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
45
46
47
48
# --- Discord Configuration (required when PLATFORMS includes 'discord') ---
DISCORD_BOT_TOKEN=your_bot_token_here
# Discord Application (Bot) Client ID
# How to get: Discord Developer Portal → Applications → General Information → APPLICATION ID
CLIENT_ID=your_application_id_here
# (Optional) Guild ID - Useful for registering slash commands instantly to a specific test server
# Global commands may take up to 1 hour to propagate.
GUILD_ID=your_guild_id_here
# Comma-separated list of allowed Discord User IDs
ALLOWED_USER_IDS=123456789012345678,987654321098765432
# Path to the directory where workspaces are stored (Default: current user's Code or Documents)
WORKSPACE_BASE_DIR=~/Code
# Initial state for file edit auto-approval mode (dynamically changeable via /autoaccept)
AUTO_APPROVE_FILE_EDITS=false
# Log level (debug/info/warn/error/none, default: info)
# LOG_LEVEL=info
# Response extraction mode (legacy/structured, default: structured)
# EXTRACTION_MODE=structured
# (Optional) Override path to the Antigravity CLI binary
# ANTIGRAVITY_PATH=/usr/local/bin/antigravity
# Response delivery path is stream-only (final-only mode removed)
# --- Multi-Platform Support ---
# Comma-separated list of active platforms (default: discord)
# For Telegram-only: set PLATFORMS=telegram (Discord vars above become optional)
# PLATFORMS=discord,telegram
# --- Telegram Configuration (required when PLATFORMS includes 'telegram') ---
# Prerequisites: npm install grammy
# Create a bot via @BotFather on Telegram to get the token.
# Telegram Bot Token (required when 'telegram' is in PLATFORMS)
# TELEGRAM_BOT_TOKEN=your_telegram_bot_token_here
# Comma-separated list of allowed Telegram User IDs (numeric)
# Get your ID: message @userinfobot on Telegram
# WARNING: If empty when Telegram is enabled, all users will be denied.
# TELEGRAM_ALLOWED_USER_IDS=123456789,987654321