From 6c5a7782d858d95e0d955fc6683c47468309d7c0 Mon Sep 17 00:00:00 2001 From: ClovertaTheTrilobita Date: Thu, 16 Jan 2025 01:34:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 497a304..0378396 100644 --- a/README.md +++ b/README.md @@ -82,16 +82,19 @@ DRIVER=~fastapi+~httpx+~websockets QQ_IS_SANDBOX=false -QQ_BOTS='[{ - "id": "", - "token": "", - "secret": "", +QQ_BOTS=' +[ + { + "id": "xxx", + "token": "xxx", + "secret": "xxx", "intent": { - "guild_messages": true, - "c2c_group_at_messages": true - }, - "use_websocket": true - }]' + "c2c_group_at_messages": true + }, + "use_websocket": false + } +] +' ``` 分别在id、token、secret处填写你的机器人ID,机器人Token和Apple Secret,需从[QQ开放平台](https://q.qq.com/)获取。