Skip to content

Commit

Permalink
removed unneeded "NOT A SPAM" button from "spam detected" message (#52)
Browse files Browse the repository at this point in the history
removed unneeded "NOT A SPAM" button from "spam detected" message as marking them false-positive has no effect
  • Loading branch information
Szer committed Sep 10, 2024
1 parent 5821940 commit f194dfc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/VahterBanBot/Bot.fs
Original file line number Diff line number Diff line change
Expand Up @@ -435,12 +435,9 @@ let killSpammerAutomated
]
else
let spamData = CallbackMessage.Spam { message = message }
let notSpamData = CallbackMessage.NotASpam { message = message }
let! spamCallback = DB.newCallback spamData
let! notSpamCallback = DB.newCallback notSpamData
return InlineKeyboardMarkup [
InlineKeyboardButton.WithCallbackData("KILL", string spamCallback.id)
InlineKeyboardButton.WithCallbackData("NOT a spam", string notSpamCallback.id)
]
}

Expand Down

0 comments on commit f194dfc

Please sign in to comment.