Code for https://twitter.com/ddodocbot