Update bot.js

Organized the code some more and filled in a couple of missing values.