Skip to content

Commit

Permalink
Add emoji to callback (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
SKProCH authored Sep 18, 2024
1 parent 0c9fd91 commit 92f1666
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/VahterBanBot/Bot.fs
Original file line number Diff line number Diff line change
Expand Up @@ -431,13 +431,13 @@ let killSpammerAutomated
let data = CallbackMessage.NotASpam { message = message }
let! callback = DB.newCallback data
return InlineKeyboardMarkup [
InlineKeyboardButton.WithCallbackData("NOT a spam", string callback.id)
InlineKeyboardButton.WithCallbackData("NOT a spam", string callback.id)
]
else
let spamData = CallbackMessage.Spam { message = message }
let! spamCallback = DB.newCallback spamData
return InlineKeyboardMarkup [
InlineKeyboardButton.WithCallbackData("KILL", string spamCallback.id)
InlineKeyboardButton.WithCallbackData("🚫 KILL", string spamCallback.id)
]
}

Expand Down

0 comments on commit 92f1666

Please sign in to comment.