/// <summary> /// Disposes of the bot manager, ensuring that all bots are knocked offline and that /// all resources used are cleaned up. /// </summary> public void Dispose() { try { BotRunner.KillAll(); buffer.Clear(); } catch (Exception) {} }