Much of the Book of Moroni within the larger Book of Mormon deals with how ordinances and meetings and church governance were conducted in the time of Moroni around the end of 2nd century America. The Church of Jesus Christ of Latter-Day Saints is largely patterned in the way Moroni describes therein.
7 And they were strict to observe that there should be no iniquity among them; and whoso was found to commit iniquity, and three witnesses of the church did condemn them before the elders, and if they repented not, and confessed not, their names were blotted out, and they were not numbered among the people of Christ.
8 But as oft as they repented and sought forgiveness, with real intent, they were forgiven.