Attach bot reference to modules on module load.