/// <summary> /// Main method :D /// It uses a specific json config (see <see cref="JsonConfig" /> for an example) /// </summary> /// <exception cref="FileNotFoundException">if the config file is not found.</exception> /// <exception cref="System.Exception">if something else has gone wrong.</exception> public static void Main() { var client = new DiswordsClient(JsonConfig.FromJsonFile("myconfig.json").Result); client.RunAsync().GetAwaiter().GetResult(); }