Simple bot based on https://gist.github.com/powdahound/940969