Commit 2f228a55 authored by Him188's avatar Him188

Merge remote-tracking branch 'origin/master'

parents d5fc392e 8948eb20
...@@ -235,7 +235,7 @@ Mirai 中所有的消息均为对象化的 [Message](mirai-core/src/commonMain/k ...@@ -235,7 +235,7 @@ Mirai 中所有的消息均为对象化的 [Message](mirai-core/src/commonMain/k
| 扩展方法 | 说明 | | 扩展方法 | 说明 |
|---| ---| |---| ---|
|String.toChain():MessageChain| PlainText(this) | |String.toChain():MessageChain| PlainText(this) |
|Message.toChain():MessageChain| 构造上文提到的 SingleMessageChain | |Message.toChain():MessageChain| 构造初始数量为一个的 MessageChain |
|suspend Message.sendTo(Contact)| 发送给联系人 | |suspend Message.sendTo(Contact)| 发送给联系人 |
### Image ### Image
......
...@@ -3,6 +3,6 @@ apply plugin: "java" ...@@ -3,6 +3,6 @@ apply plugin: "java"
dependencies { dependencies {
api project(':mirai-core') api project(':mirai-core')
implementation files('../mirai-core/build/classes/kotlin/jvm/main') runtimeOnly files('../mirai-core/build/classes/kotlin/jvm/main')
// classpath is not set correctly by IDE // classpath is not set correctly by IDE
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment