public AddonManager(ServerQueryConnection.Models.Subscribers Subscriber) : base(Subscriber) { this.CoreDependencies.GetEverything = true; AddonList = new AddonList(); // Hard-coded for now.. AddonList.Add(new Addons.TestAddon.TestAddon(this.Subscriber)); AddonList.Add(new Addons.Greeter.Greeter(this.Subscriber)); }
public CoreManager(ServerQueryConnection.Models.Subscribers Subscriber) { this.Subscriber = Subscriber; CoreList = new List <Base.ICore>(); CoreList.Add(ServerQueryConnection = new ServerQueryConnection.ServerQueryConnection(this.Subscriber)); CoreList.Add(new UserManager.UserManager(this.Subscriber)); //CoreList.Add(new Test.TestCore(this.Subscriber)); CoreList.Add(new InputOwner.InputOwnerAddon(this.Subscriber)); CoreList.Add(new ServerQueryShell.ServerQueryShell(this.Subscriber)); CoreList.Add(new PermissionManager.PermissionManager(this.Subscriber)); CoreList.Add(new ChannelManager.ChannelManager(this.Subscriber)); CoreList.Add(new AddonManager.AddonManager(this.Subscriber)); InitializeCores(); GetSchemas(); ServerQueryConnection.BotCommandAttempt += onBotCommandAttempt; }