Skip to content

Commit

Permalink
fixed markdown log parsing (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
Szer authored Jul 21, 2024
1 parent a708336 commit d0005cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/VahterBanBot/ML.fs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ open Microsoft.ML
open Microsoft.ML.Data
open Telegram.Bot
open Telegram.Bot.Types
open Telegram.Bot.Types.Enums
open VahterBanBot.DB
open VahterBanBot.Types
open VahterBanBot.Utils
Expand Down Expand Up @@ -72,7 +73,7 @@ type MachineLearning(

let metricsStr = metricsToString metrics sw.Elapsed
logger.LogInformation metricsStr
do! telegramClient.SendTextMessageAsync(ChatId(botConf.LogsChannelId), metricsStr)
do! telegramClient.SendTextMessageAsync(ChatId(botConf.LogsChannelId), metricsStr, parseMode = ParseMode.MarkdownV2)
|> taskIgnore
}

Expand Down

0 comments on commit d0005cb

Please sign in to comment.