mirror of
https://github.com/mamoe/mirai.git
synced 2025-04-25 04:50:26 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
2f228a5542
@ -235,7 +235,7 @@ Mirai 中所有的消息均为对象化的 [Message](mirai-core/src/commonMain/k
|
||||
| 扩展方法 | 说明 |
|
||||
|---| ---|
|
||||
|String.toChain():MessageChain| PlainText(this) |
|
||||
|Message.toChain():MessageChain| 构造上文提到的 SingleMessageChain |
|
||||
|Message.toChain():MessageChain| 构造初始数量为一个的 MessageChain |
|
||||
|suspend Message.sendTo(Contact)| 发送给联系人 |
|
||||
|
||||
### Image
|
||||
|
@ -3,6 +3,6 @@ apply plugin: "java"
|
||||
|
||||
dependencies {
|
||||
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user