Updated Home page to restart the application in case of fail

This commit is contained in:
2024-10-23 21:58:40 +03:00
parent 5b1d511f77
commit f8df0f0254
3 changed files with 48 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ public class DiscordApplication
{
if (!await LoadComponents())
{
Application.Logger.Log("Some required components are missing", LogType.Critical);
Console.WriteLine("Failed to load components");
return;
}