From bd5bfb852b3a18dd64c1591ceee4e58453db522a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E6=B1=A0?= <98259561+whitechi73@users.noreply.github.com> Date: Thu, 30 Nov 2023 10:00:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=96=B0=E9=AA=B0=E5=AD=90?= =?UTF-8?q?=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/message/special.md | 59 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/docs/message/special.md b/docs/message/special.md index 50975f7..ee9c20d 100644 --- a/docs/message/special.md +++ b/docs/message/special.md @@ -3,9 +3,66 @@ title: 特殊消息 icon: paper-plane --- -## 骰子 +## 新骰子 +### 参数 +| 字段 | 类型 | 收 | 发 | 必填 | 说明 | +| -------- | ---- | --- | --- | ---- | --------------------- | +| id | int | ✓ | x | 是 | 点数 ID | + +### CQ 码 + +``` +[CQ:new_dice,id=1] +``` + +### 消息段 + +```json +{ + "type": "new_dice", + "data": { + "id": 1 + } +} +``` + +## 骰子 (NTQQ废弃) + +### CQ 码 + +``` +[CQ:dice] +``` + +### 消息段 + +```json +{ + "type": "dice", + "data": { + } +} +``` + +### 剪刀石头布 (NTQQ废弃) + +### CQ 码 + +``` +[CQ:rps] +``` + +### 消息段 + +```json +{ + "type": "rps", + "data": { + } +} +``` ## 戳一戳