Update docs

This commit is contained in:
Him188 2020-12-31 18:53:25 +08:00
parent 1e3cd7b597
commit da6913f679

View File

@ -121,11 +121,10 @@ at.toMiraiCode() // 结果为 `[mirai:at:123]`
### 由 mirai 码字符串取得 `MessageChain` 实例
```
// Kotlin
```kotlin
val chain = "[mirai:atall]".parseMiraiCode()
// Java
```
```java
MessageChain chain = MiraiCode.parseMiraiCode("[mirai:atall]");
```