Every person who, in the presence of any associate circuit judge above specified, or of any court of record, shall make an affray, or threaten to kill or beat another, or to commit any offense against his person or property, and all persons who, in the presence of such court or associate circuit judge, shall contend with hot and angry words, may be ordered by such associate circuit judge or court, without any other proof or trial, to give such security as above specified, and in case of failure or refusal so to do, he may be committed in like manner as above specified.
§ 542.140, RSMo