static void Main(string[] args) { var bot = new BotClass(); bot.RunAsync().GetAwaiter().GetResult(); }