This commit is contained in:
2022-07-06 14:32:16 +03:00
parent 27fe615447
commit efb6ac5192
5 changed files with 5 additions and 13 deletions

View File

@@ -96,16 +96,6 @@ internal class Boot
Console.Title = "ONLINE";
isReady = true;
new Thread(() =>
{
while (true)
{
Config.SaveConfig();
Thread.Sleep(10000);
}
}
).Start();
return Task.CompletedTask;
}

View File

@@ -99,6 +99,7 @@ public class Program
Console.WriteLine($"Running on version: {Config.GetValue<string>("Version") ?? System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString()}");
Console.WriteLine($"Git URL: {Config.GetValue<string>("GitURL") ?? " Could not find Git URL"}");
Console_Utilities.WriteColorText("&rRemember to close the bot using the ShutDown command &y(sd) &ror some settings won't be saved");
Console.ForegroundColor = ConsoleColor.White;
Console.WriteLine($"============================ LOG ============================");