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                                              │
│                                                       │
├───────────────────────────────────────────────────────╯
相关推荐
匀泪2 小时前
云原生(nginx实验(4))
运维·nginx·云原生
daad7778 小时前
USB_抓包
linux·运维·服务器
诚丞成8 小时前
指引代码方向的恒星:在代码的诗行中徜徉,Git工具的深邃与魅力
linux
未来之窗软件服务9 小时前
服务器运维(四十)日服务器linux-ps分析工具—东方仙盟
linux·运维·服务器·服务器运维·仙盟创梦ide·东方仙盟
礼拜天没时间.9 小时前
Docker自动化构建实战:从手工到多阶段构建的完美进化
运维·docker·容器·centos·自动化·sre
c++逐梦人9 小时前
ELF文件和动态链接与动态库加载
linux·操作系统·进程
大尚来也10 小时前
跨平台全局键盘监听实战:基于 JNativeHook 在 Java 中捕获 Linux 键盘事件
java·linux
Trouvaille ~10 小时前
【Linux】数据链路层与以太网详解:从 MAC 地址到 ARP 的完整指南
linux·运维·服务器·网络·以太网·数据链路层·arp
xiaoliuliu1234510 小时前
Xftp-7.0.0109p文件传输安装步骤详解(附FTP/SFTP连接与文件传输教程)
运维·服务器
小鸡食米11 小时前
LVS(Linux Virtual Server)
运维·服务器·网络