Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Provides full Discord bot integration with automatic UI tab installation, bot setup wizard, token management, server monitoring, and dashboard controls for C...
Provides full Discord bot integration with automatic UI tab installation, bot setup wizard, token management, server monitoring, and dashboard controls for C...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Complete Discord integration for Clawdbot with automatic UI installation. This skill provides everything needed for Discord bot connectivity including: Discord Channel Plugin - Full Discord bot integration for messaging Dashboard UI Tab - Web interface for setup and monitoring Setup Wizard - Step-by-step bot creation and configuration Credential Management - Secure token storage (OpenBao support) Server Monitoring - Health checks and guild management Plugin Architecture Hooks - Automatic installation of UI components
This skill automatically installs all necessary components: # Install via agent Install the discord-connect-hub skill from ClawHub The skill will automatically: Install Discord channel plugin if not present Add Discord tab to the Control dashboard Register RPC handlers for Discord management Set up navigation and routing Install UI components and views
Full Discord.js bot implementation Message sending/receiving with formatting preservation Reaction handling and emoji support File attachment support Slash command integration Member and guild management
Connection Status - Real-time bot status and health Setup Wizard - Interactive bot creation guide Server Management - View guilds, channels, and permissions Invite Generator - Create bot invite URLs Health Diagnostics - Automatic troubleshooting Token Management - Secure credential storage
Automatic UI tab installation Dynamic navigation updates RPC method registration Configuration management Restart orchestration
Go to discord.com/developers/applications Create New Application โ Enter name โ Create Go to Bot tab โ Reset Token โ Copy token Enable Message Content Intent โ
Go to OAuth2 โ URL Generator: Scopes: bot + applications.commands Permissions: Send Messages, Read History, Reactions, Embeds, Files, Slash Commands Copy invite URL โ Open in browser โ Authorize
Option A: Dashboard (Recommended) Open Control Dashboard โ Channels โ Discord Paste bot token โ Save & Connect Option B: Config File channels: discord: botToken: "YOUR_BOT_TOKEN" # Or with OpenBao: # botToken: "bao:channels/discord#bot_token"
This skill includes hooks for the Clawdbot plugin architecture:
install/navigation.js - Adds Discord tab to dashboard install/rpc-handlers.js - Registers Discord RPC methods install/ui-components.js - Installs UI views and templates install/config-defaults.js - Sets up default configuration
hooks/post-install.js - Post-installation setup and verification hooks/pre-uninstall.js - Cleanup before removal hooks/config-updated.js - Responds to configuration changes
The skill declares its capabilities for the plugin system: UI Tabs: discord tab with navigation and routing RPC Methods: Discord API interaction endpoints Channel Type: discord messaging channel Config Schema: Discord channel configuration
MethodDescriptiondiscord.statusGet bot connection status and user infodiscord.healthRun comprehensive health checksdiscord.guildsList connected Discord serversdiscord.guildGet detailed server informationdiscord.channelsList channels in a serverdiscord.inviteGenerate bot invite URLsdiscord.testTokenValidate token without savingdiscord.setTokenStore and activate bot tokendiscord.permissionsCheck bot permissions
channels: discord: # Required botToken: "YOUR_BOT_TOKEN" # Guild restrictions (optional) guilds: "SERVER_ID": enabled: true channels: "CHANNEL_ID": enabled: true requireMention: false # Global behavior requireMention: true # Require @mention in servers dmPolicy: "pairing" # DM handling: pairing|open|closed groupPolicy: "open" # Server handling: open|mention|closed # Advanced options retryAttempts: 3 heartbeatInterval: 30000 reconnectDelay: 5000
Token Protection - Never exposes full tokens in API responses OpenBao Integration - Vault-based credential storage Scoped Permissions - Requests only necessary bot permissions Input Validation - Sanitizes all Discord API inputs Rate Limiting - Respects Discord API limits HTTPS Enforcement - Secure token transmission
Automatic diagnostics include: โ Token Validity - Bot token authentication โ Gateway Connection - Discord WebSocket status โ Message Intent - Required intent enablement โ Bot Permissions - Guild-level permission verification โ Channel Access - Read/write permission checks โ API Rate Limits - Current usage and limits
"Invalid token" errors: Ensure you're using a bot token (not user token) Verify the token was copied completely Try resetting the token in Developer Portal Bot not responding in channels: Check Message Content Intent is enabled Verify bot has permissions in the channel Check requireMention setting (try @mentioning) Dashboard not loading: Verify UI installation completed successfully Check browser console for errors Restart gateway: clawdbot gateway restart
# Check Discord connection logs clawdbot logs | grep discord # Test token independently python scripts/test-token.py YOUR_TOKEN
discord-connect-hub/ โโโ SKILL.md # This skill guide โโโ scripts/ โ โโโ test-token.py # Token validation utility โ โโโ install-plugin.js # Plugin installation script โ โโโ health-check.py # Diagnostic tool โโโ references/ โ โโโ discord-api.md # Discord API documentation โ โโโ bot-setup.md # Detailed setup guide โ โโโ troubleshooting.md # Extended troubleshooting โโโ assets/ โโโ discord-backend.ts # RPC handler implementation โโโ discord-views.ts # UI component templates โโโ navigation-hooks.js # Navigation registration โโโ install-hooks.js # Installation automation โโโ config-schema.json # Configuration validation
Detect Environment - Check if Clawdbot source is available Install Backend - Copy RPC handlers to gateway Register Handlers - Add method registration to server Install UI Components - Copy views and templates Update Navigation - Add Discord tab to dashboard Configure Routes - Set up URL routing for tab Build & Restart - Compile changes and restart gateway
If automatic installation isn't possible, the skill provides detailed manual instructions similar to the original discord-connect skill.
Clawdbot: >=2026.1.0 Node.js: >=18.0.0 Discord.js: >=14.0.0 Plugin Architecture: v2+
Discord Developer Portal Bot Permissions Calculator Clawdbot Discord ClawHub Repository
Messaging, meetings, inboxes, CRM, and teammate communication surfaces.
Largest current source with strong distribution and engagement signals.