clawdbot 使用

ubuntu系统:

pnpm 包管理工具安装 :

curl -fsSL https://get.pnpm.io/install.sh | sh -

安装完后运行以下命令生效:

source /home/nb00032/.bashrc

git下载仓库:

git clone https://github.com/clawdbot/clawdbot.git

cd clawdbot

pnpm install

pnpm ui:build # auto-installs UI deps on first run

pnpm build

pnpm clawdbot onboard --install-daemon

Dev loop (auto-reload on TS changes)

pnpm gateway:watch

1/ 我用的是千问,需要千问账号授权认证:

https://chat.qwen.ai/c/796d44ed-219c-4e2c-93c9-656b9b8c2046

千问api到咸鱼上买。

discort 账号

discort token:

https://discord.com/developers/applications/1465515772590817280/bot

在bot 下的reset token 点击进去

其它设置:

选择:

复制代码
OAuth2 → URL Generator → scope 'bot'

然后复制Generated URL 到地址栏加入。

复制代码
 Select channel (QuickStart)
│  Discord (Bot API)
│
◇  Discord bot token ───────────────────────────────────╮
│                                                       │
│  1) Discord Developer Portal → Applications → New     │
│  Application                                          │
│  2) Bot → Add Bot → Reset Token → copy token          │
│  3) OAuth2 → URL Generator → scope 'bot' → invite to  │
│  your server                                          │
│  Tip: enable Message Content Intent if you need       │
│  message text. (Bot → Privileged Gateway Intents →    │
│  Message Content Intent)                              │
│  Docs:                                                │
│  discord                                              │
│                                                       │
├───────────────────────────────────────────────────────╯
相关推荐
xlp666hub37 分钟前
Leetcode第五题:用C++解决盛最多水的容器问题
linux·c++·leetcode
张宏2362 小时前
原子操作 (基于Linux 应用层 C 语言)
linux
kymjs张涛17 小时前
OpenClaw 学习小组:初识
android·linux·人工智能
程序设计实验室19 小时前
经历分享,发现挖矿木马后,服务器快速备份与重装(腾讯云平台)
linux
Miku1621 小时前
OpenClaw-Linux+飞书官方Plugin安装指南
linux·人工智能·agent
Miku1621 小时前
OpenClaw 接入 QQ Bot 完整实践指南
linux·人工智能·agent
Yogurt_cry1 天前
[树莓派4B] 闲置近10年的爱普生 L310 打印机爆改无线打印机
linux·物联网·树莓派
爱吃橘子橙子柚子2 天前
3CPU性能排查总结(超详细)【Linux性能优化】
运维·cpu
Johny_Zhao2 天前
OpenClaw中级到高级教程
linux·人工智能·信息安全·kubernetes·云计算·yum源·系统运维·openclaw
Sheffield3 天前
Docker的跨主机服务与其对应的优缺点
linux·网络协议·docker