bot: Fix bot not rejoining channels after reconnect