Simple Robot Component Mirai
3.0.0.0-M3
simbot-component-mirai-core
/
love.forte.simbot.component.mirai.event
/
MiraiMessagePostSendEvent
/
reply
reply
open
suspend override
fun
reply
(
message
:
Message
)
:
SimbotMiraiMessageReceipt
<
C
>
(
source
)
open
suspend override
fun
reply
(
text
:
String
)
:
SimbotMiraiMessageReceipt
<
C
>
(
source
)
open
suspend override
fun
reply
(
message
:
MessageContent
)
:
SimbotMiraiMessageReceipt
<
C
>
(
source
)
尝试引用回复发送的消息。
如果发送失败(
originalEvent
中的
receipt
为null)则会抛出
SimbotIllegalStateException
Throws
Simbot
Illegal
State
Exception
无法引用回复时