Esempio n. 1
0
        public async Task Config(CommandContext ctx, string name, string prop, string data)
        {
            await NotifyWorking(ctx, "Config " + name);

            var interactor = new Interactor(ctx);

            interactor.Start();

            lock (ProjectMgr.GetLocker(name))
            {
                ProjectMgr.ConfigProject(name, prop, data, interactor);
            }

            interactor.StopAndWait();

            await NotifyFinish(ctx);
        }