I love both of you Discord and Spotify, but this new 30 seccond rule gets pretty annoying when my music gets turned off while just talking "to much." I mean talking kind of is the whole point of Discord...
Recently, Discord started automatically pausing Spotify when your mic has been active for 30 seconds while Spotify is playing (on any device) in order to comply with Spotify's ToS. While I this is a valid reason, it is annoying.
After a while this got too annyoing, my music would just flat out stop while playing games on mic with friends, while using headphones.
Use Better Discord and add discord-spotify-fix.plugin.js
to your plugins folder.
Copy the contents of copyme.js
into the developer tool's console of the Discord app.
The only caveat being you'll have to do this everytime you open Discord.
Dirty workaround for those that want to get this functionality back, if you go to discord devtools and block "https://api.spotify.com/v1/me/player/pause" you can bypass the auto pause.
Go to devtools (Inspect Element) with CTRL+Shift+i (if you aren't using betterdiscord you may need to enable it first, google how to)


Press CTRL+Shift+P to open the command menu
Type in Network Request Blocking
In the new panel, Enable Network Request Blocking and press the + icon
Type in "https://api.spotify.com/v1/me/player/pause" and press Add
You can now listen to music and yap at the same time. Enjoy your god given right.
You will need to turn Network Request Blocking on again every time you restart Discord, but it should remember your entry.
(edit: Rewrote instructions because I was dumb)