Initial commit: Discord User Bot Client for OpenClaw
- 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
This commit is contained in:
15
.env.example
Normal file
15
.env.example
Normal file
@@ -0,0 +1,15 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user