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

@@ -246,6 +246,8 @@ public class ConsoleCommandsHandler
await client.StopAsync();
await client.DisposeAsync();
Config.SaveConfig();
Console.WriteLine("Bot is closing in 2 seconds ! Please wait to save data !");
await Task.Delay(2000);
Environment.Exit(0);
}
);