How to disable spectator mode in game?

Hello. help, how to turn off the spectator mode so that outsiders toxic spammers and scum cannot join and write to the chat and interfere with the game?
h ttps://ibb.co/G3zGZ4Y

Report the people who post toxic messages right after the match and detail the situation and message. It’ll be easier for the team to review and confirm.

Of course, I can report every a match, but the spectator will not go anywhere and this game will be spoiled by inappropriate comments. in the settings there are buttons for filtering obscene words, spam and blocking profile viewing. and there should be a setting to disable spectator mode if I don’t want it, but I can’t find that button/setting!

The spectator can potentially be banned altogether if enough reports are made. So unless you make a mode in workshop where it’s invitation only, the reporting is the only tool we have.