public TestContext() { this.TestBot = new TestBot(); this.TestBot.StartAsync().GetAwaiter().GetResult(); this.CommandsManager = this.TestBot.GetService <CommandsManager>(); }
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>(); }