Bot AI untuk Discord, Telegram, dan WhatsApp menggunakan OpenClaw.
- Ubuntu VPS (20.04 / 22.04 / 24.04)
- Node.js v18+
- Git
curl -fsSL https://deb.nodesource.com/setup_22.x | bash apt install -y nodejs
git clone https://github.com/tuwingdc-cmd/Clawbot.git cd Clawbot bash deploy.sh
Saat deploy.sh berjalan, pilih salah satu:
- Gratis - Cerebras, Groq, HuggingFace (tidak perlu kartu kredit)
- Premium - Claude Opus 4.6, GPT-5, Gemini 3.1 Pro, Grok 4
- Premium + Multi-Channel - Discord + Telegram + WhatsApp
- Discord Bot Token - https://discord.com/developers
- Groq API Key - https://console.groq.com
- Cerebras API Key - https://cloud.cerebras.ai
- HuggingFace API Key - https://huggingface.co/settings/tokens
- Tavily API Key (opsional) - https://tavily.com
- Anthropic API Key - https://console.anthropic.com
- OpenAI API Key - https://platform.openai.com
- Google API Key - https://aistudio.google.com
- xAI Grok API Key - https://console.x.ai
- OpenRouter API Key - https://openrouter.ai (1 key untuk semua model)
- Buka https://discord.com/developers/applications
- New Application -> beri nama
- Bot -> Add Bot -> Copy Token
- OAuth2 -> URL Generator -> centang bot + applications.commands
- Permissions: Send Messages, Read Messages, Use Slash Commands
- Invite bot ke server menggunakan URL yang dihasilkan
- Aktifkan Message Content Intent di halaman Bot
- Buka Telegram -> cari @BotFather
- Ketik /newbot
- Ikuti instruksi -> copy token yang diberikan
- @NamaBot [pertanyaan] - Chat dengan bot
- /new - Mulai sesi baru
- /weather - Cek cuaca
- /help - Lihat semua perintah
Cek status: openclaw daemon status
Lihat log: openclaw logs --follow
Restart: openclaw daemon restart
Ganti model: openclaw models set cerebras/gpt-oss-120b
Reset session: rm ~/.openclaw/agents/main/sessions/sessions.json openclaw daemon restart
Bot tidak merespon:
- Pastikan Message Content Intent aktif di Discord Developer Portal
- Cek log: openclaw logs --follow
- Mention bot langsung: @NamaBot halo
Rate limit:
- Reset session dan ganti ke model lain
- openclaw models set groq/llama-3.3-70b-versatile
Bot stuck mengetik:
- openclaw daemon restart