I only hear the clicking sound when I'm in a call or testing my mic. It only happens on the discord app not the website. Im on a Mac. Picture of Voice Settings: https://gyazo.com/f9b2a87c13fd0c03...
Theres an application called PreMiD. It does what you suggested. Link: https://premid.app/I am not affiliated with them in anyway shape or form.