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                                              │
│                                                       │
├───────────────────────────────────────────────────────╯
相关推荐
桌面运维家4 小时前
IDV云桌面vDisk机房网络管控访问限制部署方案
运维·服务器·网络
ShineWinsu4 小时前
对于Linux:动静态库的制作与原理的解析—下
linux·运维·服务器·进程·链接·虚拟地址空间·
RH2312115 小时前
2026.4.16Linux 管道
java·linux·服务器
aq55356005 小时前
Laravel5.X核心特性全解析
ubuntu·debian
handler015 小时前
Linux: 基本指令知识点(2)
linux·服务器·c语言·c++·笔记·学习
liuyukuan6 小时前
如何在win11上打开 WSL2(Windows 的 Linux 子系统)?
linux·windows
KKKlucifer6 小时前
国内堡垒机如何打通云网运维安全一体化
运维·安全
橙子也要努力变强6 小时前
Linux信号机制
linux·服务器·网络
shughui6 小时前
FinalShell / Xshell 完整教程(下载+安装+使用,2026最新版)
linux·fiddler·xshell·xftp·finalshell·远程连接工具
wydd99_lll6 小时前
docker特权模式下逃逸
运维·docker·容器