Fix error of bot not rejoining.