Just catch the PreCommand Event and cancel it, thats a way you could handle every command without the Console seeing it.
@BlauKeksLP Dont spam every Thread when you dont know the exact answer. 'I know that it exist a method to do this but i didnt know this' ? Why are you even answering . Dont get it as a insult just as a critic.