using System.Collections.Generic; using TGS.Interface; namespace TGS.Server.ChatCommands { /// /// The main root chat command /// sealed class RootChatCommand : RootCommand { /// /// Construct a /// /// List of s supplied by DreamDaemon public RootChatCommand(List serverCommands) { var tmp = new List { new PullRequestsCommand(), new VersionCommand(), new RevisionCommand(), new ByondCommand(), new KekCommand() }; if (serverCommands != null) tmp.AddRange(serverCommands); Children = tmp.ToArray(); serverCommands = new List(); PrintHelpList = true; } } }