You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
753 B
24 lines
753 B
# Telegram Bot Configuration |
|
# Copy this file to .env and fill in your actual values |
|
|
|
# Your Telegram bot token (get from @BotFather) |
|
TELEGRAM_BOT_TOKEN=your_bot_token_here |
|
|
|
# Your chat ID (get by messaging your bot and checking the API) |
|
TELEGRAM_CHAT_ID=your_chat_id_here |
|
|
|
# Your bot username (optional, defaults to @OpenCode) |
|
TELEGRAM_BOT_USERNAME=@YourBotUsername |
|
|
|
# Idle timeout in milliseconds (default: 5 minutes = 300000ms) |
|
TELEGRAM_IDLE_TIMEOUT=300000 |
|
|
|
# Check interval in milliseconds (default: 30 seconds = 30000ms) |
|
TELEGRAM_CHECK_INTERVAL=30000 |
|
|
|
# Enable/disable the plugin (true/false) |
|
TELEGRAM_ENABLED=true |
|
|
|
# Gemini API Configuration |
|
# Get your API key from https://makersuite.google.com/app/apikey |
|
GEMINI_API_KEY=your_gemini_api_key_here
|
|
|