Whenever I run this function, I always get the error message "AttributeError: \'Message\' object has no attribute \'member\'", however I am not quite sure what thi