This commit is contained in:
+9
-9
@@ -1,4 +1,4 @@
|
||||
# Telegram Bot Token
|
||||
# Telegram Bot Token (required)
|
||||
# Get this from @BotFather on Telegram
|
||||
# 1. Open Telegram and search for @BotFather
|
||||
# 2. Send /newbot
|
||||
@@ -6,16 +6,16 @@
|
||||
# 4. Copy the token it gives you
|
||||
TELEGRAM_BOT_TOKEN=your_bot_token_here
|
||||
|
||||
# Restrict bot to your Telegram chat (required)
|
||||
# Get your chat ID by messaging @userinfobot on Telegram
|
||||
# The bot will refuse to start without this value.
|
||||
TELEGRAM_ALLOWED_CHAT_ID=your_chat_id_here
|
||||
|
||||
# opencode API URL
|
||||
# Must match the --port flag you use when starting opencode serve
|
||||
# Example: opencode serve --port 5050
|
||||
OPENCODE_API_URL=http://127.0.0.1:5050
|
||||
# Example: opencode serve --port 4096
|
||||
OPENCODE_API_URL=http://127.0.0.1:4096
|
||||
|
||||
# Optional: password protect the opencode server
|
||||
# If set, you must also run: OPENCODE_SERVER_PASSWORD=your-secret opencode serve --port 5050
|
||||
# If set, you must also run: OPENCODE_SERVER_PASSWORD=your-secret opencode serve --port 4096
|
||||
# OPENCODE_SERVER_PASSWORD=your-secret
|
||||
|
||||
# Optional: restrict bot to a single Telegram user
|
||||
# Get your chat ID by messaging @userinfobot on Telegram
|
||||
# If not set, the bot responds to anyone
|
||||
# TELEGRAM_ALLOWED_CHAT_ID=your_chat_id_here
|
||||
|
||||
Reference in New Issue
Block a user