fix: fix message target
This commit is contained in:
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)
|
||||
|
||||
Reference in New Issue
Block a user