I agree with Bart, this is totally covered in the Discourse Moderation Guide. It’s on par with other disruptive behaviors that users can see.
In the official warning, be sure to explain the negative behavior you have seen, detail specifically what you’d like them to do instead, and the consequences of not changing their behavior.
If the behavior continues, be sure to follow through with the listed consequences. You may choose to…