How to listen to pc audio but use phone microphone to talk?

so i want to be in a discord voice call with my friend on phone but also listen to a game im playing, is there a way to do this?