public ChatCommand Register(string command) { if (String.IsNullOrEmpty(command)) return null; ChatCommand cc = new ChatCommand(command); cc.plugin = plugin; return Register(cc); }
public ChatCommand Register(ChatCommand command) { Commands.Add(Commands.Count, command); return command; }