mirai-core / net.mamoe.mirai.event / MessageSelectBuilderUnit / quoteReply

quoteReply

open infix fun MessageSelectionTimeoutChecker.quoteReply(block: suspend () -> Any?): Unit

在超时后引用回复原消息

block 返回值为 Unit 时不回复, 为 Message 时回复 Message, 其他将 toString 后回复为 PlainText

See Also

timeout

reply

open infix fun MessageSelectionTimeoutChecker.quoteReply(message: Message): Unit
open infix fun MessageSelectionTimeoutChecker.quoteReply(message: String): Unit