예제 #1
0
        public Task <Result> Execute(SocketUserMessage e, string header)
        {
            string filePath = Program.dataPath + AutomatedTextChannels.additionalHeaderPath;

            AutomatedTextChannels.AddHeaders(header);
            SerializationIO.SaveTextFile(filePath, header);

            return(TaskResult(header, "Succesfully added header to list of additional headers!"));
        }