-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
27 lines (21 loc) · 1.26 KB
/
Copy path.env.example
File metadata and controls
27 lines (21 loc) · 1.26 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
# Discord Bot Configuration (Required)
DISCORD_TOKEN=your_bot_token_here # Get this from Discord Developer Portal
PREFIX=! # Default command prefix
LOG_CHANNEL_ID= # Channel ID for logging (optional)
# Google Gemini API Configuration (Optional)
GEMINI_API_KEY=your_gemini_api_key_here # Required only if using Gemini features
GEMINI_MODEL=models/gemini-2.5-flash # Default Gemini model
GEMINI_ENDPOINT=https://generativelanguage.googleapis.com/v1beta2/models
# Database Configuration
DB_PATH=data/studybot.db # Path to SQLite database file
# Logging Configuration
LOG_LEVEL=INFO # Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
CHAT_LOG_DIR=log_files # Directory for chat logs
MOD_LOG_FILE=logs/mod_actions.log # File for moderator action logs
# Web Server Configuration (for Render deployment)
PORT=8080 # Web server port (Render will override this)
# Feature Toggles (Optional)
ENABLE_MUSIC=true # Enable/disable music features
ENABLE_GAMES=true # Enable/disable game features
# DO NOT commit your actual .env file to version control
# Copy this file to .env and fill in your actual values