Wrote multiple files for the bot client.