Example #1
0
            public SearchCommand(ISearchFactory factory, string cmdPath)
            {
                this.factory = factory;
                var builder = new CommandBuildInfo(
                    this,
                    Method,
                    new CommandAttribute(cmdPath));

                Command = new BotCommand(builder);
            }
Example #2
0
            public PlayCommand(string audioType, string cmdPath)
            {
                this.audioType = audioType;
                var builder = new CommandBuildInfo(
                    this,
                    Method,
                    new CommandAttribute(cmdPath));

                Command = new BotCommand(builder);
            }
Example #3
0
            public PlayListCommand(IPlaylistFactory factory, string cmdPath)
            {
                this.factory = factory;
                var builder = new CommandBuildInfo(
                    this,
                    Method,
                    new CommandAttribute(cmdPath));

                Command = new BotCommand(builder);
            }
Example #4
0
            public SearchCommand(ISearchResolver resolver, string cmdPath)
            {
                this.resolver = resolver;
                var builder = new CommandBuildInfo(
                    this,
                    Method,
                    new CommandAttribute(cmdPath));

                Command = new BotCommand(builder);
            }
Example #5
0
            public PlayListCommand(IPlaylistResolver resolver, string cmdPath)
            {
                this.resolver = resolver;
                var builder = new CommandBuildInfo(
                    this,
                    Method,
                    new CommandAttribute(cmdPath));

                Command = new BotCommand(builder);
            }
Example #6
0
            public PlayCommand(AudioType audioType)
            {
                this.audioType = audioType;
                var builder = new CommandBuildInfo(
                    this,
                    playMethod,
                    new CommandAttribute(CommandRights.Private, string.Empty),
                    null);

                Command = new BotCommand(builder);
            }
Example #7
0
            public PlayListCommand(AudioType audioType, string cmdPath)
            {
                this.audioType = audioType;
                var builder = new CommandBuildInfo(
                    this,
                    playMethod,
                    new CommandAttribute(cmdPath),
                    null);

                Command = new BotCommand(builder);
            }
Example #8
0
		public WrappedCommand(int invNum, PluginProxy wrapParent, CommandBuildInfo data) : base(data)
		{
			proxy = wrapParent;
			mId = invNum;
		}
Example #9
0
		public WrappedCommand(int invNum, PluginProxy wrapParent, CommandBuildInfo data) : base(data)
		{
			proxy = wrapParent;
			mId = invNum;
		}