支持新骰子消息

This commit is contained in:
白池 2023-11-30 10:00:26 +08:00 committed by GitHub
parent 3605d9b740
commit bd5bfb852b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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": {
}
}
```
## 戳一戳