From 30dc50e84b53d3c78dd74f7db43c460bad959a6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20H=C3=A4rter?= Date: Fri, 7 Jul 2023 19:19:36 +0200 Subject: [PATCH] Fixed bug with missing assignment. --- F1DataBot.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/F1DataBot.pm b/F1DataBot.pm index a049fa6..66d2192 100644 --- a/F1DataBot.pm +++ b/F1DataBot.pm @@ -254,8 +254,7 @@ sub statistics { } $ConstructorStandingsFormatted =~ s/^/
/;
                     $ConstructorStandingsFormatted =~ s/$/<\/pre>/;
-
-                    $ReturnData{parse_mode} = 'HTML';
+                    $ReturnData{text} = $ConstructorStandingsFormatted;
                 }
                 default {
                     $ReturnData{text} =