Skip to content

Commit

Permalink
纠正
Browse files Browse the repository at this point in the history
  • Loading branch information
siuank committed Mar 2, 2024
1 parent 7410595 commit 18aa0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/ltd/guimc/lgzbot/command/LGZBotCommand.kt
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ object LGZBotCommand : CompositeCommand(
val raw = MiraiHibernateRecorder[quote.source] as MessageChain
str = raw.getPlainText()
}
if (LL4JUtils.predict(str)) {
if (LL4JUtils.predictAllResult(str).let { it[1] > it[0] }) {
sendMessage("不合规")
} else {
sendMessage("合规")
Expand Down

0 comments on commit 18aa0b9

Please sign in to comment.