This is the code for my Balance Bot. He's my first Balance Bot, so I call him ... Balance Bot One. Lots of this code is inspired by, if not borrowed from, other people.