Built the bot event system