public bool CheckIfCalledThisCommand(string textInput) { textInput = textInput?.Trim().ToLower(); if (string.IsNullOrEmpty(textInput)) { return(false); } if (textInput.ToLower().StartsWith(LongName.ToLower()) || textInput.ToLower().StartsWith(ShortName.ToLower())) { return(true); } return(false); }