fix: fix message target

This commit is contained in:
2024-10-11 19:36:22 +08:00
parent 5ac05f052a
commit 2ac7d3b20b
2 files changed
+12 -5

No files matched your search

@@ -82,7 +82,10 @@ class FancyBot : OneBotListener {
val getMsg = this.getMessage(replyId.toString().toLong())
ImageURLCommand.callback(message, getMsg)
}
if (command.contains("reaction")) ReactionCommand.reaction(message)
if (command.contains("reaction")) {
val getMsg = this.getMessage(replyId.toString().toLong())
ReactionCommand.reaction(this, message, getMsg.messageId)
}
if (command.contains("图床")) {
val getMsg = this.getMessage(replyId.toString().toLong())
val imagesUrl = ImageURLCommand.getImageUrl(getMsg)