This repository has been archived by the owner on Feb 10, 2023. It is now read-only.
Replies: 1 comment
-
val sourceMessage = (this as? CommandSenderOnMessage<*>)?.fromEvent?.message
if (sourceMessage != null) {
sendMessage(sourceMessage.quote() + "OK")
} else {
sendMessage("OK")
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Arasple
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
e.g.
能否对命令消息源进行引用?我希望实现以下效果
sendMessage(message.quote() + "Command Respond")
Beta Was this translation helpful? Give feedback.
All reactions