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:
root
2026-03-31 22:04:49 +02:00
commit 80f1a97e56
18 changed files with 3333 additions and 0 deletions

15
.env.example Normal file
View 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