Skip to content

Commit

Permalink
removed debug msg
Browse files Browse the repository at this point in the history
  • Loading branch information
Szer committed Sep 26, 2023
1 parent 45a116b commit 72184e3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/VahterBanBot/Bot.fs
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,8 @@ let onUpdate
(logger: ILogger)
(message: Message) = task {

if message.Chat <> null && message.From <> null then
logger.LogDebug $"Received message from chat {message.Chat.Username} ({message.Chat.Id}) from user {message.From.Username} ({message.From.Id})"

if isNull message || isNull message.From then
logger.LogWarning "Received update without message"


// check if message comes from channel, we should delete it immediately
elif botConfig.ShouldDeleteChannelMessages && isChannelMessage message then
Expand Down

0 comments on commit 72184e3

Please sign in to comment.