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                                              │
│                                                       │
├───────────────────────────────────────────────────────╯
相关推荐
Yang961110 小时前
探索无线新视界:鼎讯信通DXMP系列频谱仪模块深度剖析
运维·网络
wangbing112510 小时前
JPA下自定义主键
java·linux·服务器
杨了个杨898210 小时前
Docker Compose 简介及应用
运维·docker·容器
bush410 小时前
正点原子imx6ull-uboot,奇怪的问题
linux·学习
Urbano10 小时前
卫衣生产工艺科普与智能自动化设备应用解析
大数据·运维·人工智能
dddwjzx11 小时前
嵌入式Linux C应用编程——Framebuffer应用编程
linux·嵌入式
lastHertz12 小时前
Nginx安装部署
运维·nginx
今天也想躺ping12 小时前
linux系统移植pjsua库实现sip通话功能
linux·sip·交叉编译
无锡银洲自动化12 小时前
工业风道测量误差大?单点测速的局限性与多点矩阵解决方案
运维·产品运营