private async void startRun() { await bot.Start(); Gtk.Application.Invoke(delegate { dashboard.updateTreeList(DateTime.Now.ToString("yyyy-MM-dd HH:mm"), bot.updateCount, bot.total, bot.lastRunCondition); }); }
public async static Task runBot() { Console.WriteLine("Starting Bot"); bot.Start(); }