def process_new(body, number): ''' process a text if the user does NOT exist in the db ''' # looks like a signup request if parse.valid_signup_request(body): new_name = parse.get_signup_name(body) create_user(new_name, number) send_welcome(number) # looks like anything else else: send_signup_request(number)
def process_verif(number): set_active(number) send_welcome(number)