The word discipline means teaching, learning; disciple means pupil.
Church discipline, then, involves teaching and learning about God, in the company of other believers–children of the Father, followers of Christ, pupils of the Holy Spirit.
Each of us is both learner and teacher.