thread.py with clean_message

thread.py with clean_message