wait 5 seconds before running an older version of bot

This commit is contained in:
2024-05-10 15:44:10 +03:00
parent d5f78c831e
commit 413d465d7f
2 changed files with 4 additions and 3 deletions

View File

@@ -118,7 +118,8 @@ public class Program
Console.WriteLine($"Download link: {update.UpdateUrl}");
Console.WriteLine($"Update notes: {update.UpdateNotes}\n\n");
Environment.Exit(0);
Console.WriteLine("Waiting 5 seconds ...");
await Task.Delay(5000);
}
Logger.OnLog += (sender, logMessage) =>