mirror of
https://github.com/mamoe/mirai.git
synced 2025-04-25 04:50:26 +08:00
Fix build
This commit is contained in:
parent
dc00c84820
commit
6667d94277
@ -150,8 +150,9 @@ public sealed class MessageSource : Message, MessageMetadata, ConstrainSingle<Me
|
||||
*/
|
||||
@JvmStatic
|
||||
@JvmBlockingBridge
|
||||
public suspend inline fun MessageSource.recall() {
|
||||
Mirai.recallMessage(bot, this@recall)
|
||||
public suspend fun MessageSource.recall() {
|
||||
// don't inline, compilation error
|
||||
Mirai.recallMessage(bot, this)
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user