From dded0ae49eb34b91cbae75f1e746cb48aca5e4a3 Mon Sep 17 00:00:00 2001 From: FlorianDahn Date: Sun, 9 Oct 2022 17:15:06 +0200 Subject: [PATCH] Update Testproject Co-Authored-By: Alexey <110727638+ZavaruKitsu@users.noreply.github.com> --- TelegramBotBase.Test/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TelegramBotBase.Test/Program.cs b/TelegramBotBase.Test/Program.cs index 8b76b97..6e3eb4c 100644 --- a/TelegramBotBase.Test/Program.cs +++ b/TelegramBotBase.Test/Program.cs @@ -14,7 +14,7 @@ namespace TelegramBotBaseTest { class Program { - static void Main(string[] args) + static async void Main(string[] args) { String APIKey = ""; @@ -43,7 +43,7 @@ namespace TelegramBotBaseTest bb.BotCommand += Bb_BotCommand; //Update Bot commands to botfather - bb.UploadBotCommands().Wait(); + await bb.UploadBotCommands(); bb.SetSetting(TelegramBotBase.Enums.eSettings.LogAllMessages, true);