public void RegisterCommand(PluginCommand command) => Commands.Add(Commands.Count, command);
public void RegisterCommand(string command, string usage, string description) { if (String.IsNullOrEmpty(command)) return; PluginCommand cmd = new PluginCommand(); cmd._description = description; cmd._command = command; cmd._usage = usage; RegisterCommand(cmd); }