Fix Voice.contentToString to be the same as official clients

This commit is contained in:
Him188 2021-02-07 14:59:07 +08:00
parent bf4502fa3e
commit 2d1c66135e
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ Mirai 支持富文本消息。
| [`PokeMessage`] | 戳一戳消息(消息非动作) | `[戳一戳]` | 2.0 |
| [`VipFace`] | VIP 表情 | `[${kind.name}]x$count` | 2.0 |
| [`LightApp`] | 小程序 | `$content` | 2.0 |
| [`Voice`] | 语音 | `$content` | 2.0 |
| [`Voice`] | 语音 | `[语音消息]` | 2.0 |
| [`MarketFace`] | 商城表情 | `[表情对应的中文名]` | 2.0 |
| [`ForwardMessage`] | 合并转发 | `[转发消息]` | 2.0 *<sup>(1)</sup>* |
| [`SimpleServiceMessage`] | (不稳定)服务消息 | `$content` | 2.0 |

View File

@ -77,5 +77,5 @@ public class Voice @MiraiInternalApi constructor(
public override fun toString(): String = _stringValue!!
public override fun contentToString(): String = "[语音]"
public override fun contentToString(): String = "[语音消息]"
}