mirror of
https://github.com/mamoe/mirai.git
synced 2024-12-27 09:00:15 +08:00
Fix Voice.contentToString to be the same as official clients
This commit is contained in:
parent
bf4502fa3e
commit
2d1c66135e
@ -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 |
|
||||
|
@ -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 = "[语音消息]"
|
||||
}
|
Loading…
Reference in New Issue
Block a user