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                                              │
│                                                       │
├───────────────────────────────────────────────────────╯
相关推荐
楚枫默寒9 小时前
Linux 编辑文件后自动添加修改日期
linux·运维·bash
苦青藤9 小时前
从零搭建 WSUS 隔离网络:完整实战指南(内网离线补丁分发)
运维·windows·microsoft
2601_9611940211 小时前
27考研刘晓艳单词pdf
linux·sql·ubuntu·华为·pdf·.net
2023自学中13 小时前
imx6ull 开发板 推流ov5640数据,虚拟机用 ffplay 拉流播放
linux·音视频·嵌入式·开发板
shandianchengzi13 小时前
【记录】Ghidra|Ubuntu 26.04 下 Ghidra 界面缩放完整指南
linux·ubuntu·逆向·ghidra
天天进步201513 小时前
Python全栈项目--Python自动化运维工具开发
运维·python·自动化
Soari13 小时前
Ubuntu 根分区文件系统损坏,系统启动时自动检查失败
linux·运维·ubuntu
杨云龙UP13 小时前
Oracle Health Check巡检脚本使用SOP V2.0:从HTML原始报告→生成Word专业巡检报告→交付客户_2026-06-03
linux·运维·数据库·sql·oracle·报告·巡检
广州灵眸科技有限公司13 小时前
瑞芯微RV1126B开发板(EASY-EAI-PI2) Linux虚拟机准备
linux·运维·服务器
Lana学习中14 小时前
【运维杂记】连接不上远程服务器的问题处理
运维·服务器