From f194dfc679bb3b02ffd3da5d52d69d675976eb21 Mon Sep 17 00:00:00 2001 From: Ayrat Hudaygulov Date: Tue, 10 Sep 2024 11:33:49 +0100 Subject: [PATCH] removed unneeded "NOT A SPAM" button from "spam detected" message (#52) removed unneeded "NOT A SPAM" button from "spam detected" message as marking them false-positive has no effect --- src/VahterBanBot/Bot.fs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/VahterBanBot/Bot.fs b/src/VahterBanBot/Bot.fs index fd7fca8..128c575 100644 --- a/src/VahterBanBot/Bot.fs +++ b/src/VahterBanBot/Bot.fs @@ -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) ] }