Exemplo n.º 1
0
        static void Main(string[] args)
        {
            var builder = new ConfigurationBuilder()
                          .SetBasePath(Directory.GetCurrentDirectory())
                          .AddJsonFile("Vault.json");

            IConfiguration config = new ConfigurationBuilder()
                                    .AddJsonFile("Vault.json", false, true)
                                    .Build();

            Vault.Load(config);

            BotHelper.Configure();
            BotHelper.Start();

            Console.ReadLine();
        }