Complete Discord integration for Clawdbot with automatic UI installation. Provides Discord bot connectivity, dashboard tab, setup wizard, credential management, server monitoring, and plugin architecture hooks. Use when setting up Discord channel integration or adding Discord tab to the Control dashboard. Includes automatic installation of UI components, RPC handlers, and navigation updates.
为 Clawdbot 提供完整的 Discord 集成功能,并自动安装用户界面。该技能提供 Discord 机器人连接所需的一切,包括:
该技能会自动安装所有必要组件:
bash
该技能将自动:
选项 B:配置文件
yaml
channels:
discord:
botToken: 你的机器人令牌
# 或使用 OpenBao:
# botToken: bao:channels/discord#bot_token
该技能包含用于 Clawdbot 插件架构的钩子:
| 方法 | 描述 |
|---|---|
| discord.status | 获取机器人连接状态和用户信息 |
| discord.health |
yaml
channels:
discord:
# 必填
botToken: 你的机器人令牌
# 服务器限制(可选)
guilds:
服务器ID:
enabled: true
channels:
频道ID:
enabled: true
requireMention: false
# 全局行为
requireMention: true # 在服务器中需要 @提及
dmPolicy: pairing # 私信处理:配对|开放|关闭
groupPolicy: open # 服务器处理:开放|提及|关闭
# 高级选项
retryAttempts: 3
heartbeatInterval: 30000
reconnectDelay: 5000
自动诊断包括:
无效令牌错误:
机器人在频道中无响应:
仪表盘无法加载:
discord-connect-hub/
├── SKILL.md # 本技能指南
├── scripts/
│ ├── test-token.py # 令牌验证工具
│ ├── install-plugin.js # 插件安装脚本
│ └── health-check.py # 诊断工具
├── references/
│ ├── discord-api.md # Discord API 文档
│ ├── bot-setup.md # 详细设置指南
│ └── troubleshooting.md # 扩展故障排除
└── assets/
├── discord-backend.ts # RPC 处理器实现
├── discord-views.ts # UI 组件模板
├── navigation-hooks.js # 导航注册
├── install-hooks.js # 安装自动化
└── config-schema.json # 配置验证
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 discord-connect-ui-1776420000 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 discord-connect-ui-1776420000 技能
skillhub install discord-connect-ui-1776420000
文件大小: 31.96 KB | 发布时间: 2026-4-17 20:14