use correct python idiom for send_direct_message method