Skip to content
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/main/kotlin/ltd/guimc/lgzbot/listener/message/MessageFilter.kt
  • Loading branch information
guimc233 committed Apr 4, 2024
2 parents 567f8d5 + 18aa0b9 commit d7fabc2
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 d7fabc2

Please sign in to comment.