Update Testproject

Co-Authored-By: Alexey <110727638+ZavaruKitsu@users.noreply.github.com>
This commit is contained in:
FlorianDahn
2022-10-09 17:15:06 +02:00
co-authored by Alexey
parent f39b1d11be
commit dded0ae49e
+2 -2
View File
@@ -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);