I want to disable in game chat

So because there are games that im getting really tilted and take my rage to chat i wanna perma disable it before its too late. Is there any way i can perma disable chat from teamates and opponents so if the anger hits i cant type anything but still being able to see pings or summoner spells and everything else chat includes?
Report as:
Offensive Spam Harassment Incorrect Board