Skip to content

Commit

Permalink
More accuracy (#19)
Browse files Browse the repository at this point in the history
Update Bot.fs
  • Loading branch information
Szer authored Jun 17, 2024
1 parent 010c079 commit ff8488b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VahterBanBot/Bot.fs
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ let justMessage
(message: Message) = task {
let spamScore = if message.Text <> null then calcSpamScore message.Text else 0

if spamScore >= 100 then
if spamScore > 100 then
do! warnSpamDetection botClient botConfig message logger spamScore

use _ =
Expand Down

0 comments on commit ff8488b

Please sign in to comment.