- Complete project structure with pyproject.toml - Configuration module with Pydantic validation - SQLite database with async operations - WebSocket client with capabilities negotiation - Discord client using discord.py-self - Message mapper for bidirectional conversion - State manager for user mappings and pairing - Unit tests for all components - Comprehensive README documentation Phase 1-4 complete, ready for testing
15 lines
321 B
Plaintext
15 lines
321 B
Plaintext
# Environment variables (alternative to config.yaml)
|
|
# Copy to .env and fill in values
|
|
|
|
# Discord user token
|
|
DISCORD_TOKEN=your_discord_token_here
|
|
|
|
# OpenClaw WebSocket settings
|
|
OPENCLAW_WS_URL=ws://localhost:8765/ws
|
|
OPENCLAW_API_KEY=your_api_key_here
|
|
|
|
# Database path
|
|
DATABASE_PATH=./state.db
|
|
|
|
# Log level
|
|
LOG_LEVEL=INFO |