public TestContext()
        {
            this.TestBot = new TestBot();
            this.TestBot.StartAsync().GetAwaiter().GetResult();

            this.CommandsManager = this.TestBot.GetService <CommandsManager>();
        }
示例#2
0
        public TestContext()
        {
            this.testBot = new TestBot();
            this.testBot.StartAsync(new string[] {  }).GetAwaiter().GetResult();

            this.CommandsManager = this.testBot.GetService <CommandsManager>();
            this.Settings        = this.testBot.GetService <Settings>();
        }