Discord Connect UI
v2Complete Discord integration for Clawd机器人 with automatic UI 安装ation. Provides Discord 机器人 connectivity, 仪表盘 tab, 设置up wizard, 凭证 management, server 监控ing, and 插件 architecture hooks. Use when 设置ting up Discord channel integration or 添加ing Discord tab to the Control 仪表盘. Includes automatic 安装ation of UI 组件s, RPC 处理器s, and navigation 更新s.
运行时依赖
版本
Capabilities Registration
安装命令
点击复制技能文档
Discord Connect Hub
Complete Discord integration for Clawd机器人 with automatic UI 安装ation. This 技能 provides everything needed for Discord 机器人 connectivity including:
Discord Channel 插件 - Full Discord 机器人 integration for messaging 仪表盘 UI Tab - 网页 interface for 设置up and 监控ing 设置up Wizard - Step-by-step 机器人 creation and configuration 凭证 Management - 安全 令牌 storage (OpenBao support) Server 监控ing - 健康 检查s and 图形界面ld management 插件 Architecture Hooks - Automatic 安装ation of UI 组件s 安装ation
This 技能 automatically 安装s all necessary 组件s:
# 安装 via 代理 安装 the discord-connect-hub 技能 from ClawHub
The 技能 will automatically:
安装 Discord channel 插件 if not present 添加 Discord tab to the Control 仪表盘 Register RPC 处理器s for Discord management 设置 up navigation and routing 安装 UI 组件s and views Features Discord 机器人 Integration Full Discord.js 机器人 implementation Message 发送ing/receiving with 格式化ting preservation Reaction handling and emoji support File attachment support Slash command integration Member and 图形界面ld management 仪表盘 UI Connection 状态 - Real-time 机器人 状态 and 健康 设置up Wizard - Interactive 机器人 creation 图形界面de Server Management - View 图形界面lds, channels, and 权限s Invite 生成器 - 创建 机器人 invite URLs 健康 Diagnostics - Automatic troubleshooting 令牌 Management - 安全 凭证 storage 插件 Architecture Integration Automatic UI tab 安装ation Dynamic navigation 更新s RPC method registration Configuration management Re启动 orchestration Quick 设置up
- Discord 应用 设置up
- 机器人 权限s
Go to OAuth2 → URL 生成器:
Scopes: 机器人 + 应用s.commands 权限s: 发送 Messages, Read 历史, Reactions, Embeds, Files, Slash Commands Copy invite URL → Open in browser → 授权
- 配置 in Clawd机器人
Option A: 仪表盘 (Recommended)
Open Control 仪表盘 → Channels → Discord Paste 机器人 令牌 → Save & Connect
Option B: Config File
channels: discord: 机器人令牌: "YOUR_机器人_令牌" # Or with OpenBao: # 机器人令牌: "bao:channels/discord#机器人_令牌"
插件 Architecture Hooks
This 技能 includes hooks for the Clawd机器人 插件 architecture:
安装ation Hooks 安装/navigation.js - 添加s Discord tab to 仪表盘 安装/rpc-处理器s.js - Registers Discord RPC methods 安装/ui-组件s.js - 安装s UI views and templates 安装/config-defaults.js - 设置s up default configuration 运行time Hooks hooks/post-安装.js - Post-安装ation 设置up and verification hooks/pre-un安装.js - 清理up before removal hooks/config-更新d.js - 响应s to configuration changes Capabilities Registration
The 技能 declares its capabilities for the 插件 系统:
UI Tabs: discord tab with navigation and routing RPC Methods: Discord API interaction 端点s Channel Type: discord messaging channel Config 模式: Discord channel configuration RPC Methods Method Description discord.状态 获取 机器人 connection 状态 and user 信息 discord.健康 运行 comprehensive 健康 检查s discord.图形界面lds 列出 connected Discord servers discord.图形界面ld 获取 detAIled server in格式化ion discord.channels 列出 channels in a server discord.invite 生成 机器人 invite URLs discord.test令牌 验证 令牌 without saving discord.设置令牌 Store and activate 机器人 令牌 discord.权限s 检查 机器人 权限s Configuration Options channels: discord: # Required 机器人令牌: "YOUR_机器人_令牌" # 图形界面ld restrictions (optional) 图形界面lds: "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
Security Features 令牌 保护ion - Never exposes full 令牌s in API 响应s OpenBao Integration - Vault-based 凭证 storage Scoped 权限s - 请求s only necessary 机器人 权限s 输入 验证 - Sanitizes all Discord API 输入s Rate Limiting - Respects Discord API limits HTTPS Enforcement - 安全 令牌 transmission 健康 检查s
Automatic diagnostics include:
✅ 令牌 Validity - 机器人 令牌 authentication ✅ Gateway Connection - Discord 网页Socket 状态 ✅ Message Intent - Required intent enablement ✅ 机器人 权限s - 图形界面ld-level 权限 verification ✅ Channel 访问 - Read/write 权限 检查s ✅ API Rate Limits - Current usage and limits Troubleshooting Common Issues
"Invalid 令牌" errors:
Ensure you're using a 机器人 令牌 (not user 令牌) 验证 the 令牌 was copied completely Try re设置