If you don't care about the Discord chat being in the same trakc as another device, set your Discord output device to whatever audio device you want it at.
If you want it to be a unique channel where you can mute it from the recording, download Voicemeeter Banana