mirai
2.16.0
common
mirai-core-api
/
net.mamoe.mirai.event
/
CommonMessageSelectBuilderUnit
/
reply
reply
open
infix
fun
MessageSelectionTimeoutChecker
.
reply
(
block
:
suspend
(
)
->
Any
?
)
在超时后回复原消息
当
block
返回值为
Unit
时不回复, 为
Message
时回复
Message
, 其他将
toString
后回复为
PlainText
See also
Common
Message
Select
Builder
Unit.
timeout
Common
Message
Select
Builder
Unit.
quoteReply
open
infix
fun
MessageSelectionTimeoutChecker
.
reply
(
message
:
Message
)
open
infix
fun
MessageSelectionTimeoutChecker
.
reply
(
message
:
String
)