Update bot.js

Added prototype of buy().