Skip to content

Commit

Permalink
fix for unban command
Browse files Browse the repository at this point in the history
  • Loading branch information
Szer committed Dec 4, 2023
1 parent be4fe2b commit 5839c0c
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 @@ -24,7 +24,7 @@ let isBanCommand (message: Message) =
message.Text = "/ban"

let isUnbanCommand (message: Message) =
message.Text = "/unban"
message.Text.StartsWith "/unban "

let isBanOnReplyCommand (message: Message) =
isBanCommand message &&
Expand Down

0 comments on commit 5839c0c

Please sign in to comment.