Wrote first version of the bot.